mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
28 lines
600 B
Nix
28 lines
600 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "glide";
|
|
version = "0.13.3";
|
|
|
|
goPackagePath = "github.com/Masterminds/glide";
|
|
|
|
buildFlagsArray = ''
|
|
-ldflags=
|
|
-X main.version=${version}
|
|
'';
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "Masterminds";
|
|
repo = "glide";
|
|
sha256 = "1wskg1cxqy9sp0738qiiagdw09dbs3swxsk4z6w5hsfiq2h44a54";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://glide.sh";
|
|
description = "Package management for Go";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.rushmorem ];
|
|
};
|
|
}
|