mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
44 lines
815 B
Nix
44 lines
815 B
Nix
{ 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 = "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;
|
|
};
|
|
}
|