about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/gopkgs/default.nix
blob: 7b57354e3ea74dd3fb67ea01b53da74a140edde5 (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
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "gopkgs";
  version = "2.1.2";

  src = fetchFromGitHub {
    rev = "v${version}";
    owner = "uudashr";
    repo = "gopkgs";
    hash = "sha256-ll5fhwzzCNL0UtMLNSGOY6Yyy0EqI8OZ1iqWad4KU8k=";
  };

  vendorHash = "sha256-WVikDxf79nEahKRn4Gw7Pv8AULQXW+RXGoA3ihBhmt8=";

  subPackages = [ "cmd/gopkgs" ];

  doCheck = false;

  meta = {
    description = "Tool to get list available Go packages";
    homepage = "https://github.com/uudashr/gopkgs";
    maintainers = with lib.maintainers; [ vdemeester ];
    license = lib.licenses.mit;
  };
}