nixpkgs/pkgs/development/tools/glide/default.nix

28 lines
608 B
Nix
Raw Normal View History

2016-09-21 19:53:00 +00:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
2016-06-05 08:53:30 +00:00
2016-06-07 20:32:34 +00:00
buildGoPackage rec {
2016-06-05 08:53:30 +00:00
name = "glide-${version}";
2016-12-04 22:10:24 +00:00
version = "0.12.3";
2016-06-05 08:53:30 +00:00
goPackagePath = "github.com/Masterminds/glide";
buildFlagsArray = ''
-ldflags=
-X main.version=${version}
'';
src = fetchFromGitHub {
2016-09-21 19:53:00 +00:00
rev = "v${version}";
owner = "Masterminds";
repo = "glide";
2016-12-04 22:10:24 +00:00
sha256 = "0hvfikvxfk94aqms1bdxqxqpamzy0v8binv5jwglzw2sf2437ww0";
2016-09-21 19:53:00 +00:00
};
meta = with stdenv.lib; {
homepage = https://glide.sh;
description = "Package management for Go";
license = licenses.mit;
maintainers = [ maintainers.rushmorem ];
2016-06-05 08:53:30 +00:00
};
}