2025-06-03 18:27:59 +05:30

34 lines
749 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "enumerepo";
version = "1.0.0";
src = fetchFromGitHub {
owner = "trickest";
repo = "enumerepo";
tag = "v${version}";
hash = "sha256-PWWx6b+fttxKxMtuHAYPTeEsta0E6+IQ1DSKO6c7Jdc=";
};
vendorHash = "sha256-Dt3QS1Rm/20Yitgg4zbBcWQXV8mTlpNbzc/k4DaTuQc=";
ldflags = [
"-s"
"-w"
];
meta = {
description = "Tool to list all public repositories for (valid) GitHub usernames";
mainProgram = "enumerepo";
homepage = "https://github.com/trickest/enumerepo";
changelog = "https://github.com/trickest/enumerepo/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}