mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
Merge pull request #124730 from LeSuisse/morph-1.6.0
morph: 1.5.0 -> 1.6.0
This commit is contained in:
commit
65f32d2984
@ -1,18 +1,17 @@
|
||||
{ buildGoPackage, fetchFromGitHub, go-bindata, openssh, makeWrapper, lib }:
|
||||
{ buildGoModule, fetchFromGitHub, go-bindata, openssh, makeWrapper, lib }:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule rec {
|
||||
pname = "morph";
|
||||
version = "1.5.0";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dbcdk";
|
||||
repo = "morph";
|
||||
rev = "v${version}";
|
||||
sha256 = "064ccvvq4yk17jy5jvi1nxfp5ajvnvn2k4zvh9v0n3ragcl3rd20";
|
||||
sha256 = "0aibs4gsb9pl21nd93bf963kdzf0661qn0liaw8v8ak2xbz7nbs8";
|
||||
};
|
||||
|
||||
goPackagePath = "github.com/dbcdk/morph";
|
||||
goDeps = ./deps.nix;
|
||||
vendorSha256 = "08zzp0h4c4i5hk4whz06a3da7qjms6lr36596vxz0d8q0n7rspr9";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper go-bindata ];
|
||||
|
||||
@ -28,7 +27,7 @@ buildGoPackage rec {
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $lib
|
||||
cp -v go/src/$goPackagePath/data/*.nix $lib
|
||||
cp -v ./data/*.nix $lib
|
||||
wrapProgram $out/bin/morph --prefix PATH : ${lib.makeBinPath [ openssh ]};
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user