depot/third_party/nixpkgs/pkgs/tools/security/enumerepo/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

32 lines
750 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "enumerepo";
version = "1.0.0";
src = fetchFromGitHub {
owner = "trickest";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-PWWx6b+fttxKxMtuHAYPTeEsta0E6+IQ1DSKO6c7Jdc=";
};
vendorHash = "sha256-Dt3QS1Rm/20Yitgg4zbBcWQXV8mTlpNbzc/k4DaTuQc=";
ldflags = [
"-s"
"-w"
];
meta = with lib; {
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 = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}