about summary refs log tree commit diff
path: root/pkgs/development/tools/gopkgs/default.nix
blob: 51c4255a0135e764ebb9edf05c345d859f8f83c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ 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;
  };
}