Merge pull request #301090 from ByteSudoer/init-koji

koji: init at 2.2.0

authored by Aleksana and committed by GitHub 179fb342 f876cc41

+43
+43
pkgs/by-name/ko/koji/package.nix
··· 1 + { lib 2 + , rustPlatform 3 + , fetchFromGitHub 4 + , pkg-config 5 + , perl 6 + , udev 7 + , openssl 8 + }: 9 + 10 + rustPlatform.buildRustPackage rec { 11 + pname = "koji"; 12 + version = "2.2.0"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "its-danny"; 16 + repo = "koji"; 17 + rev = version; 18 + hash = "sha256-2kBjHX7izo4loJ8oyPjE9FtCvUODC3Sm4T8ETIdeGZM="; 19 + }; 20 + 21 + cargoHash = "sha256-owppYDt0YdWoDvfmzVfiIPjLgTAT9eTI1LpRr4Y3XQA="; 22 + 23 + OPENSSL_NO_VENDOR = 1; 24 + 25 + nativeBuildInputs = [ 26 + pkg-config 27 + perl 28 + udev 29 + ]; 30 + 31 + buildInputs = [ 32 + openssl.dev 33 + ]; 34 + 35 + meta = with lib; { 36 + description = "An interactive CLI for creating conventional commits"; 37 + homepage = "https://github.com/its-danny/koji"; 38 + license = with licenses; [ mit ]; 39 + maintainers = with maintainers; [ ByteSudoer ]; 40 + mainProgram = "koji"; 41 + platforms = platforms.unix; 42 + }; 43 + }