git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #118796 from Riey/cargo-feature
commit952a87d19070a7da057067eb4ef249f5a7db440c authorSandro <sandro.jaeckel@gmail.com> dateThu 8 Apr 2021, 12:02 (6 years ago) parentcef13016bf4e6b
3 files changed+31
maintainers/maintainer-list.nix+6 pkgs/development/tools/rust/cargo-feature/default.nix+24 pkgs/top-level/all-packages.nix+1
maintainers/maintainer-list.nix+6
@@ -8167,6 +8167,12 @@
81678167 githubId = 16779;
81688168 name = "Rickard Nilsson";
81698169 };
8170+ riey = {
8171+ email = "creeper844@gmail.com";
8172+ github = "Riey";
8173+ githubId = 14910534;
8174+ name = "Riey";
8175+ };
81708176 rika = {
81718177 email = "rika@paymentswit.ch";
81728178 github = "NekomimiScience";
pkgs/development/tools/rust/cargo-feature/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ lib, rustPlatform, fetchFromGitHub }:
2+
3+rustPlatform.buildRustPackage rec {
4+ pname = "cargo-feature";
5+ version = "0.5.2";
6+
7+ src = fetchFromGitHub {
8+ owner = "Riey";
9+ repo = pname;
10+ rev = "v${version}";
11+ sha256 = "0n5kzh756ghfs3cydlcn9mfvpgwy1cjg41h0nd9dbi5cr1fp9x1n";
12+ };
13+
14+ cargoSha256 = "0nvl5smibl81b826xcsrjx8p89lcfpj7wqdsvywnj7jd3p5ag03n";
15+
16+ meta = with lib; {
17+ description = "Allows conveniently modify features of crate";
18+ homepage = "https://github.com/Riey/cargo-feature";
19+ license = licenses.mit;
20+ platforms = platforms.unix;
21+ maintainers = with maintainers; [ riey ];
22+ };
23+}
24+
pkgs/top-level/all-packages.nix+1
@@ -11240,6 +11240,7 @@ in
1124011240 };
1124111241 cargo-embed = callPackage ../development/tools/rust/cargo-embed { };
1124211242 cargo-expand = callPackage ../development/tools/rust/cargo-expand { };
11243+ cargo-feature = callPackage ../development/tools/rust/cargo-feature { };
1124311244 cargo-flash = callPackage ../development/tools/rust/cargo-flash { };
1124411245 cargo-fund = callPackage ../development/tools/rust/cargo-fund {
1124511246 inherit (darwin.apple_sdk.frameworks) Security;