diff options
author | Aleksana <me@aleksana.moe> | 2024-04-09 01:17:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 01:17:43 +0800 |
commit | 179fb3425c35eecbf7ea2237b145ecaafa89f2f1 (patch) | |
tree | dc80ebf50457bd9a234c7d0fdeaa6dc65e5e50b4 /pkgs/by-name | |
parent | f876cc416068bbd5325805c11357d14f609d2cc5 (diff) | |
parent | f9f1092c7393d662382fb45fb7a216a42985e5a0 (diff) |
Merge pull request #301090 from ByteSudoer/init-koji
koji: init at 2.2.0
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/ko/koji/package.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/by-name/ko/koji/package.nix b/pkgs/by-name/ko/koji/package.nix new file mode 100644 index 0000000000000..b42362245e2dc --- /dev/null +++ b/pkgs/by-name/ko/koji/package.nix @@ -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; + }; +} |