Unverified Commit 5e97f047 authored by Tristan Ross's avatar Tristan Ross Committed by GitHub
Browse files

bounty: init at 0.1.0-unstable-25-01-29 (#377842)

parents 102c03f2 a1d450e2
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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";
+40 −0
Original line number Diff line number Diff line
{
  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";
  };
}