mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
24 lines
581 B
Nix
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;
|
|
};
|
|
}
|