Merge pull request #56148 from adamtulinius/morph-v1.2.0
morph: 1.1.0 -> 1.2.0
This commit is contained in:
commit
49d963855a
1 changed files with 8 additions and 2 deletions
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildGoPackage rec {
|
||||
name = "morph-${version}";
|
||||
version = "1.1.0";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dbcdk";
|
||||
repo = "morph";
|
||||
rev = "v${version}";
|
||||
sha256 = "0pixm48is9if9d2b4qc5mwwa4lzma6snkib6z2a1d4pmdx1lmpmm";
|
||||
sha256 = "0jhypvj45yjg4cn4rvb2j9091pl6z5j541vcfaln5sb3ds14fkwf";
|
||||
};
|
||||
|
||||
goPackagePath = "github.com/dbcdk/morph";
|
||||
|
@ -16,6 +16,12 @@ buildGoPackage rec {
|
|||
|
||||
buildInputs = [ go-bindata ];
|
||||
|
||||
buildFlagsArray = ''
|
||||
-ldflags=
|
||||
-X
|
||||
main.version=${version}
|
||||
'';
|
||||
|
||||
prePatch = ''
|
||||
go-bindata -pkg assets -o assets/assets.go data/
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue