diff options
author | Ana Hobden <operator@hoverbear.org> | 2021-01-21 10:54:01 -0800 |
---|---|---|
committer | Ana Hobden <operator@hoverbear.org> | 2021-01-24 09:39:58 -0800 |
commit | 65ea0f1482dc5c9bb95b6aa91f9a3e10fafc003b (patch) | |
tree | bdd2ecebb19acb67935d0618e4c9fae56b7239d5 /pkgs/development/tools | |
parent | 67c61e708afe754e6e66341868249be3097cbb55 (diff) |
convco: init at 0.3.2
Signed-off-by: Ana Hobden <operator@hoverbear.org>
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/convco/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/tools/convco/default.nix b/pkgs/development/tools/convco/default.nix new file mode 100644 index 000000000000..d6be170bb8f6 --- /dev/null +++ b/pkgs/development/tools/convco/default.nix @@ -0,0 +1,26 @@ +{ lib, rustPlatform, fetchFromGitHub, stdenv, openssl, perl, pkg-config, libiconv, Security }: + +rustPlatform.buildRustPackage rec { + pname = "convco"; + version = "0.3.2"; + + src = fetchFromGitHub { + owner = "convco"; + repo = pname; + rev = "v${version}"; + sha256 = "0fqq6irbq1aikhhw08gc9kp0vbk2aminfbvwdlm58cvywyq91bn4"; + }; + + cargoSha256 = "073sfv42fbl8rjm3dih1ghs9vq75mjshp66zdzdan2dmmrnw5m9z"; + + 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 ]; + }; +} |