1{ lib
2, buildGoModule
3, fetchFromGitHub
4}:
5
6buildGoModule rec {
7 pname = "enumerepo";
8 version = "1.0.0";
9
10 src = fetchFromGitHub {
11 owner = "trickest";
12 repo = pname;
13 rev = "refs/tags/v${version}";
14 hash = "sha256-PWWx6b+fttxKxMtuHAYPTeEsta0E6+IQ1DSKO6c7Jdc=";
15 };
16
17 vendorHash = "sha256-Dt3QS1Rm/20Yitgg4zbBcWQXV8mTlpNbzc/k4DaTuQc=";
18
19 ldflags = [
20 "-s"
21 "-w"
22 ];
23
24 meta = with lib; {
25 description = "Tool to list all public repositories for (valid) GitHub usernames";
26 homepage = "https://github.com/trickest/enumerepo";
27 changelog = "https://github.com/trickest/enumerepo/releases/tag/v${version}";
28 license = licenses.mit;
29 maintainers = with maintainers; [ fab ];
30 };
31}