diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 24188ffc74c5..5653007c42b0 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -1521,6 +1521,12 @@ githubId = 962885; name = "Andrew Chambers"; }; + andrewgazelka = { + email = "andrew@gazelka.com"; + github = "andrewgazelka"; + githubId = 7644264; + name = "Andrew Gazelka"; + }; andrewrk = { email = "superjoe30@gmail.com"; github = "andrewrk"; diff --git a/pkgs/by-name/bo/bounty/package.nix b/pkgs/by-name/bo/bounty/package.nix new file mode 100644 index 000000000000..ff7d17cfe0f4 --- /dev/null +++ b/pkgs/by-name/bo/bounty/package.nix @@ -0,0 +1,40 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, + openssl, + libgit2, + pkg-config, +}: + +rustPlatform.buildRustPackage { + pname = "bounty"; + version = "0.1.0-unstable-25-01-29"; + + src = fetchFromGitHub { + owner = "ghbountybot"; + repo = "cli"; + rev = "452c7545e611e0648de661f7f9c6444c157a3945"; + hash = "sha256-0f+ad7mgFskESh9yW+Y53hCFmHmINyy1XgHyB14sK54="; + }; + + cargoHash = "sha256-dlfoA5bWtyHrsviPdFd6O47D/cglvhJzChOboyu1Io0="; + useFetchCargoVendor = true; + + doCheck = true; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ + openssl + libgit2 + ]; + + meta = { + description = "CLI tool for bountybot.dev"; + homepage = "https://github.com/ghbountybot/cli"; + license = [ lib.licenses.mit ]; + maintainers = with lib.maintainers; [ andrewgazelka ]; + mainProgram = "bounty"; + }; +}