Packaging Sculpin with Nix
This commit is contained in:
parent
869f20f95e
commit
5344b3ee61
5 changed files with 60 additions and 0 deletions
24
nix/sculpin/flake.nix
Normal file
24
nix/sculpin/flake.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
outputs = inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import inputs.nixpkgs { inherit system; };
|
||||
in
|
||||
{
|
||||
packages.${system}.default = pkgs.php.buildComposerProject2 {
|
||||
pname = "sculpin";
|
||||
version = "3.3.0-dev";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "sculpin";
|
||||
repo = "sculpin";
|
||||
rev = "03af6498c32663e3d307ebfe346bb8d48feddec5";
|
||||
hash = "sha256-K3wyXRiOIlkfy8Kx8pvIzne+N2XNTxZYyDlunfpQsL8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-b5+Jj8YUy5QzZ/VG0YN58vkknFLYwn97pfrvUGmA+Dc=";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue