diff options
author | Florian Klink <flokli@flokli.de> | 2020-05-31 16:12:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-31 16:12:05 +0200 |
commit | d5831b9c3617e22aaf717a98666ad6b94c90ff01 (patch) | |
tree | 84cc26bfc7c60cfdd007735f65e3d5a13328adeb | |
parent | 8ae5866152710d26bc4a2346b9b15d692f63a3c7 (diff) | |
parent | 55143290baa7d615699d78962a054a4229ef4b88 (diff) |
Merge pull request #89138 from bhipple/fix/go-bindata
go-bindata: use fetchFromGitHub
-rw-r--r-- | pkgs/development/tools/go-bindata/default.nix | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/pkgs/development/tools/go-bindata/default.nix b/pkgs/development/tools/go-bindata/default.nix index 4d07939bd7c02..9db1501f94051 100644 --- a/pkgs/development/tools/go-bindata/default.nix +++ b/pkgs/development/tools/go-bindata/default.nix @@ -1,25 +1,25 @@ -{ stdenv, buildGoPackage, fetchgit }: +{ stdenv, buildGoPackage, fetchFromGitHub }: -buildGoPackage rec { +buildGoPackage { pname = "go-bindata"; - version = "20151023-${stdenv.lib.strings.substring 0 7 rev}"; - rev = "a0ff2567cfb70903282db057e799fd826784d41d"; - + version = "unstable-2015-10-23"; + goPackagePath = "github.com/jteeuwen/go-bindata"; - src = fetchgit { - inherit rev; - url = "https://github.com/jteeuwen/go-bindata"; + src = fetchFromGitHub { + owner = "jteeuwen"; + repo = "go-bindata"; + rev = "a0ff2567cfb70903282db057e799fd826784d41d"; sha256 = "0d6zxv0hgh938rf59p1k5lj0ymrb8kcps2vfrb9kaarxsvg7y69v"; }; excludedPackages = "testdata"; meta = with stdenv.lib; { - homepage = "https://github.com/jteeuwen/go-bindata"; + homepage = "https://github.com/jteeuwen/go-bindata"; description = "A small utility which generates Go code from any file, useful for embedding binary data in a Go program"; maintainers = with maintainers; [ cstrahan ]; - license = licenses.cc0 ; - platforms = platforms.all; + license = licenses.cc0; + platforms = platforms.all; }; } |