mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
27 lines
748 B
Nix
27 lines
748 B
Nix
{ lib, rustPlatform, fetchFromGitHub, stdenv, openssl, perl, pkg-config, libiconv, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "convco";
|
|
version = "0.3.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "convco";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-eWe7oTWl7QfIqq3GfMILi5S8zUi03ER1Mzfr8hqUvgw=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-hAUg2mh4VyyjkBRBs5YWi14yeGlMXxt+cdoz5xOS+1A=";
|
|
|
|
nativeBuildInputs = [ openssl perl pkg-config ];
|
|
|
|
buildInputs = 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 ];
|
|
};
|
|
}
|