depot/third_party/nixpkgs/pkgs/tools/security/enumerepo/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

31 lines
719 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";
homepage = "https://github.com/trickest/enumerepo";
changelog = "https://github.com/trickest/enumerepo/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}