1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/development/tools/glide/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

28 lines
598 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "glide";
version = "0.12.3";
goPackagePath = "github.com/Masterminds/glide";
buildFlagsArray = ''
-ldflags=
-X main.version=${version}
'';
src = fetchFromGitHub {
rev = "v${version}";
owner = "Masterminds";
repo = "glide";
sha256 = "0hvfikvxfk94aqms1bdxqxqpamzy0v8binv5jwglzw2sf2437ww0";
};
meta = with stdenv.lib; {
homepage = https://glide.sh;
description = "Package management for Go";
license = licenses.mit;
maintainers = [ maintainers.rushmorem ];
};
}