nixpkgs/pkgs/development/tools/gopkgs/default.nix

27 lines
664 B
Nix
Raw Normal View History

2020-04-23 09:23:39 +01:00
{ stdenv, buildGoModule, fetchFromGitHub }:
2020-04-23 09:23:39 +01:00
buildGoModule rec {
pname = "gopkgs";
2020-04-23 09:23:39 +01:00
version = "2.1.2";
goPackagePath = "github.com/uudashr/gopkgs";
2020-04-23 09:23:39 +01:00
subPackages = [ "cmd/gopkgs" ];
src = fetchFromGitHub {
rev = "v${version}";
owner = "uudashr";
repo = "gopkgs";
2020-04-23 09:23:39 +01:00
sha256 = "1jak1bg6k5iasscw68ra875k59k3iqhka2ykabsd427k1j3mypln";
};
2020-04-23 09:23:39 +01:00
modSha256 = "0v9lg5kq3776b2s4kgyi19jy8shjqrr0f5ljrchsj1k7867sxiw7";
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;
};
}