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
763 B
Nix
Raw Normal View History

2022-02-01 08:03:47 +00:00
{ stdenv
, lib
, rustPlatform
, fetchFromGitHub
, cmake
, libiconv
, openssl
, pkg-config
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "convco";
2023-02-25 13:36:35 +00:00
version = "0.4.0";
src = fetchFromGitHub {
owner = "convco";
repo = pname;
rev = "v${version}";
2023-02-25 13:36:35 +00:00
sha256 = "sha256-Fv1yaBnfn/wik1Ix24shwfritwxno3NoeJgHPsHgZOI=";
};
2023-02-25 13:36:35 +00:00
cargoHash = "sha256-q0VrN+5Ypq4ga/gI5MlyRaMdD8NxzuaZ804KaRQzpRs=";
2022-02-01 08:03:47 +00:00
nativeBuildInputs = [ cmake pkg-config ];
2022-02-01 08:03:47 +00: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 ];
};
}