3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #30108 from carlsverre/dep-init

dep: init at 0.3.1
This commit is contained in:
Orivej Desh 2017-10-06 06:42:33 +00:00 committed by GitHub
commit 82af1cbf2c
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "dep-${version}";
version = "0.3.1";
rev = "v${version}";
goPackagePath = "github.com/golang/dep";
subPackages = [ "cmd/dep" ];
src = fetchFromGitHub {
inherit rev;
owner = "golang";
repo = "dep";
sha256 = "0dsiaqfrp7ihhx10qapkl6zm3dw3rwdgcr9rkvmq8zprcp7njz90";
};
buildFlagsArray = ("-ldflags=-s -w -X main.commitHash=${rev} -X main.version=${version}");
meta = with stdenv.lib; {
homepage = https://github.com/golang/dep;
description = "Go dependency management tool";
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = [ maintainers.carlsverre ];
};
}

View file

@ -12721,6 +12721,8 @@ with pkgs;
delve = callPackage ../development/tools/delve { }; delve = callPackage ../development/tools/delve { };
dep = callPackage ../development/tools/dep { };
go-bindata = callPackage ../development/tools/go-bindata { }; go-bindata = callPackage ../development/tools/go-bindata { };
go-bindata-assetfs = callPackage ../development/tools/go-bindata-assetfs { }; go-bindata-assetfs = callPackage ../development/tools/go-bindata-assetfs { };