Merge pull request #110375 from Hoverbear/pkg-convco
This commit is contained in:
commit
853e2e0a97
@ -3717,6 +3717,12 @@
|
|||||||
githubId = 362833;
|
githubId = 362833;
|
||||||
name = "Hongchang Wu";
|
name = "Hongchang Wu";
|
||||||
};
|
};
|
||||||
|
hoverbear = {
|
||||||
|
email = "operator+nix@hoverbear.org";
|
||||||
|
github = "hoverbear";
|
||||||
|
githubId = 130903;
|
||||||
|
name = "Ana Hobden";
|
||||||
|
};
|
||||||
hrdinka = {
|
hrdinka = {
|
||||||
email = "c.nix@hrdinka.at";
|
email = "c.nix@hrdinka.at";
|
||||||
github = "hrdinka";
|
github = "hrdinka";
|
||||||
|
26
pkgs/development/tools/convco/default.nix
Normal file
26
pkgs/development/tools/convco/default.nix
Normal file
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -10726,6 +10726,10 @@ in
|
|||||||
|
|
||||||
crate2nix = callPackage ../development/tools/rust/crate2nix { };
|
crate2nix = callPackage ../development/tools/rust/crate2nix { };
|
||||||
|
|
||||||
|
convco = callPackage ../development/tools/convco {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
maturin = callPackage ../development/tools/rust/maturin { };
|
maturin = callPackage ../development/tools/rust/maturin { };
|
||||||
inherit (rustPackages) rls;
|
inherit (rustPackages) rls;
|
||||||
rustfmt = rustPackages.rustfmt;
|
rustfmt = rustPackages.rustfmt;
|
||||||
|
Loading…
Reference in New Issue
Block a user