nixpkgs-suyu/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
765 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-03-03 04:14:48 +01:00
version = "0.3.9";
src = fetchFromGitHub {
owner = "convco";
repo = pname;
rev = "v${version}";
2022-03-03 04:14:48 +01:00
sha256 = "sha256-ys7fuaD1jj3tWD6U+BRvqFneZEdKV5c1RO2FLEtqIUk=";
};
2022-03-03 04:14:48 +01:00
cargoSha256 = "sha256-5/uF0aPNNNUruRF8euuEnGSJHsRehSZipa0677zc12c=";
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 ];
};
}