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