3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/gopkgs/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

24 lines
581 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "gopkgs";
version = "2.0.1";
goPackagePath = "github.com/uudashr/gopkgs";
goDeps = ./deps.nix;
src = fetchFromGitHub {
rev = "v${version}";
owner = "uudashr";
repo = "gopkgs";
sha256 = "03zfwkmzwx2knkghky3irb2r78lbc1ccszjcg9y445b4pbqkn6w4";
};
meta = {
description = "Tool to get list available Go packages.";
homepage = https://github.com/uudashr/gopkgs;
maintainers = with stdenv.lib.maintainers; [ vdemeester ];
license = stdenv.lib.licenses.mit;
};
}