nixpkgs/pkgs/development/tools/convco/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
766 B
Nix
Raw Normal View History

2022-02-01 09:03:47 +01:00
{ stdenv
, lib
, rustPlatform
, fetchFromGitHub
, cmake
, libiconv
, openssl
, pkg-config
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "convco";
2022-07-11 06:07:49 +02:00
version = "0.3.11";
src = fetchFromGitHub {
owner = "convco";
repo = pname;
rev = "v${version}";
2022-07-11 06:07:49 +02:00
sha256 = "sha256-v/0NtJYprd8YxwSdeH4v7mY0v3vElDx2PNIIUKsczW8=";
};
2022-07-11 06:07:49 +02:00
cargoSha256 = "sha256-Zh/Aiuu1Mx2osscSG0E1MTGKCVsYtL66FUnew6OCyZ4=";
2022-02-01 09:03:47 +01:00
nativeBuildInputs = [ cmake pkg-config ];
2022-02-01 09:03:47 +01:00
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ libiconv Security ];
meta = with lib; {
description = "A Conventional commit cli";
homepage = "https://github.com/convco/convco";
license = with licenses; [ mit ];
maintainers = with maintainers; [ hoverbear ];
};
}