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 {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "glide";
|
2020-02-12 18:14:10 +00:00
|
|
|
version = "0.13.3";
|
2016-12-04 22:10:24 +00:00
|
|
|
|
2016-06-05 08:53:30 +00:00
|
|
|
goPackagePath = "github.com/Masterminds/glide";
|
|
|
|
|
2017-02-17 11:08:54 +00:00
|
|
|
buildFlagsArray = ''
|
|
|
|
-ldflags=
|
|
|
|
-X main.version=${version}
|
|
|
|
'';
|
|
|
|
|
2016-06-06 10:56:28 +00:00
|
|
|
src = fetchFromGitHub {
|
2016-09-21 19:53:00 +00:00
|
|
|
rev = "v${version}";
|
2016-06-06 10:56:28 +00:00
|
|
|
owner = "Masterminds";
|
|
|
|
repo = "glide";
|
2020-02-12 18:14:10 +00:00
|
|
|
sha256 = "1wskg1cxqy9sp0738qiiagdw09dbs3swxsk4z6w5hsfiq2h44a54";
|
2016-09-21 19:53:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://glide.sh";
|
2016-09-21 19:53:00 +00:00
|
|
|
description = "Package management for Go";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.rushmorem ];
|
2016-06-05 08:53:30 +00:00
|
|
|
};
|
|
|
|
}
|