Merge pull request #56148 from adamtulinius/morph-v1.2.0

morph: 1.1.0 -> 1.2.0
This commit is contained in:
Sarah Brofeldt 2019-02-21 14:28:07 +01:00 committed by GitHub
commit 49d963855a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/
'';