depot/third_party/nixpkgs/pkgs/development/tools/gopkgs/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
664 B
Nix

{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "gopkgs";
version = "2.1.2";
goPackagePath = "github.com/uudashr/gopkgs";
subPackages = [ "cmd/gopkgs" ];
src = fetchFromGitHub {
rev = "v${version}";
owner = "uudashr";
repo = "gopkgs";
sha256 = "1jak1bg6k5iasscw68ra875k59k3iqhka2ykabsd427k1j3mypln";
};
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;
};
}