2021-01-21 19:54:01 +01:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, stdenv, openssl, perl, pkg-config, libiconv, Security }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "convco";
|
2021-02-14 00:53:05 +01:00
|
|
|
version = "0.3.3";
|
2021-01-21 19:54:01 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "convco";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-14 00:53:05 +01:00
|
|
|
sha256 = "sha256-eWe7oTWl7QfIqq3GfMILi5S8zUi03ER1Mzfr8hqUvgw=";
|
2021-01-21 19:54:01 +01:00
|
|
|
};
|
|
|
|
|
2021-05-07 13:00:49 +02:00
|
|
|
cargoSha256 = "sha256-RuClZ+ChP7d40e9nr1Lg8R0F7rbFbBse79V9Y1AQn3o=";
|
2021-01-21 19:54:01 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|