morph: 1.5.0 -> 1.6.0
https://github.com/DBCDK/morph/releases/tag/v1.6.0
This commit is contained in:
parent
339a49503a
commit
03465e588b
1 changed files with 6 additions and 7 deletions
|
@ -1,18 +1,17 @@
|
||||||
{ buildGoPackage, fetchFromGitHub, go-bindata, openssh, makeWrapper, lib }:
|
{ buildGoModule, fetchFromGitHub, go-bindata, openssh, makeWrapper, lib }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "morph";
|
pname = "morph";
|
||||||
version = "1.5.0";
|
version = "1.6.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dbcdk";
|
owner = "dbcdk";
|
||||||
repo = "morph";
|
repo = "morph";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "064ccvvq4yk17jy5jvi1nxfp5ajvnvn2k4zvh9v0n3ragcl3rd20";
|
sha256 = "0aibs4gsb9pl21nd93bf963kdzf0661qn0liaw8v8ak2xbz7nbs8";
|
||||||
};
|
};
|
||||||
|
|
||||||
goPackagePath = "github.com/dbcdk/morph";
|
vendorSha256 = "08zzp0h4c4i5hk4whz06a3da7qjms6lr36596vxz0d8q0n7rspr9";
|
||||||
goDeps = ./deps.nix;
|
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper go-bindata ];
|
nativeBuildInputs = [ makeWrapper go-bindata ];
|
||||||
|
|
||||||
|
@ -28,7 +27,7 @@ buildGoPackage rec {
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $lib
|
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 ]};
|
wrapProgram $out/bin/morph --prefix PATH : ${lib.makeBinPath [ openssh ]};
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue