Skip to content

Commit

Permalink
Merge pull request #301090 from ByteSudoer/init-koji
Browse files Browse the repository at this point in the history
koji: init at 2.2.0
  • Loading branch information
Aleksanaa authored Apr 8, 2024
2 parents f876cc4 + f9f1092 commit 179fb34
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions pkgs/by-name/ko/koji/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, perl
, udev
, openssl
}:

rustPlatform.buildRustPackage rec {
pname = "koji";
version = "2.2.0";

src = fetchFromGitHub {
owner = "its-danny";
repo = "koji";
rev = version;
hash = "sha256-2kBjHX7izo4loJ8oyPjE9FtCvUODC3Sm4T8ETIdeGZM=";
};

cargoHash = "sha256-owppYDt0YdWoDvfmzVfiIPjLgTAT9eTI1LpRr4Y3XQA=";

OPENSSL_NO_VENDOR = 1;

nativeBuildInputs = [
pkg-config
perl
udev
];

buildInputs = [
openssl.dev
];

meta = with lib; {
description = "An interactive CLI for creating conventional commits";
homepage = "https://github.com/its-danny/koji";
license = with licenses; [ mit ];
maintainers = with maintainers; [ ByteSudoer ];
mainProgram = "koji";
platforms = platforms.unix;
};
}

0 comments on commit 179fb34

Please sign in to comment.