forked from mirrors/nixpkgs
Merge pull request #89020 from johanot/morph-improvements
morph: 1.4.0 -> 1.5.0
This commit is contained in:
commit
a9ecd36dcb
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildGoPackage rec {
|
||||
pname = "morph";
|
||||
version = "1.4.0";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dbcdk";
|
||||
repo = "morph";
|
||||
rev = "v${version}";
|
||||
sha256 = "1y6clzi8sfnrv4an26b44r24nnxds1kj9aw3lmjbgxl9yrxxsj1k";
|
||||
sha256 = "064ccvvq4yk17jy5jvi1nxfp5ajvnvn2k4zvh9v0n3ragcl3rd20";
|
||||
};
|
||||
|
||||
goPackagePath = "github.com/dbcdk/morph";
|
||||
|
@ -22,13 +22,13 @@ buildGoPackage rec {
|
|||
main.version=${version}
|
||||
'';
|
||||
|
||||
prePatch = ''
|
||||
postPatch = ''
|
||||
go-bindata -pkg assets -o assets/assets.go data/
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $lib
|
||||
cp -v $src/data/*.nix $lib
|
||||
cp -v go/src/$goPackagePath/data/*.nix $lib
|
||||
wrapProgram $out/bin/morph --prefix PATH : ${lib.makeBinPath [ openssh ]};
|
||||
'';
|
||||
|
||||
|
|
2
pkgs/tools/package-management/morph/deps.nix
generated
2
pkgs/tools/package-management/morph/deps.nix
generated
|
@ -63,4 +63,4 @@
|
|||
sha256 = "06xrp05njwam4sn031fkmd4gym5wfsw5q0v24nqhs4883lsx9dwq";
|
||||
};
|
||||
}
|
||||
]
|
||||
]
|
Loading…
Reference in a new issue