diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-25 01:38:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-25 01:38:17 +0100 |
commit | 853e2e0a97f3d0d5c597876d29e0be13b666d8d4 (patch) | |
tree | d3a49ad35548456d1b4c23eca3206da9325b758e /pkgs/development/tools | |
parent | f8b6de73017268b4929c3ff3b3d9cbaa84ed4f1a (diff) | |
parent | 65ea0f1482dc5c9bb95b6aa91f9a3e10fafc003b (diff) |
Merge pull request #110375 from Hoverbear/pkg-convco
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 ]; + }; +} |