From 67c61e708afe754e6e66341868249be3097cbb55 Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Thu, 21 Jan 2021 10:51:56 -0800 Subject: [PATCH 1/2] maintainers: add hoverbear Signed-off-by: Ana Hobden --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 99280c800c29..de66528e1ba5 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3699,6 +3699,12 @@ githubId = 362833; name = "Hongchang Wu"; }; + hoverbear = { + email = "operator+nix@hoverbear.org"; + github = "hoverbear"; + githubId = 130903; + name = "Ana Hobden"; + }; hrdinka = { email = "c.nix@hrdinka.at"; github = "hrdinka"; From 65ea0f1482dc5c9bb95b6aa91f9a3e10fafc003b Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Thu, 21 Jan 2021 10:54:01 -0800 Subject: [PATCH 2/2] convco: init at 0.3.2 Signed-off-by: Ana Hobden --- pkgs/development/tools/convco/default.nix | 26 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/tools/convco/default.nix 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dd61a9eb7bfa..7756ce2f9150 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10692,6 +10692,10 @@ in crate2nix = callPackage ../development/tools/rust/crate2nix { }; + convco = callPackage ../development/tools/convco { + inherit (darwin.apple_sdk.frameworks) Security; + }; + maturin = callPackage ../development/tools/rust/maturin { }; inherit (rustPackages) rls; rustfmt = rustPackages.rustfmt;