mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-05-16 14:31:06 +00:00
Merge pull request #118796 from Riey/cargo-feature
This commit is contained in:
commit
952a87d190
3 changed files with 31 additions and 0 deletions
|
@ -8167,6 +8167,12 @@
|
||||||
githubId = 16779;
|
githubId = 16779;
|
||||||
name = "Rickard Nilsson";
|
name = "Rickard Nilsson";
|
||||||
};
|
};
|
||||||
|
riey = {
|
||||||
|
email = "creeper844@gmail.com";
|
||||||
|
github = "Riey";
|
||||||
|
githubId = 14910534;
|
||||||
|
name = "Riey";
|
||||||
|
};
|
||||||
rika = {
|
rika = {
|
||||||
email = "rika@paymentswit.ch";
|
email = "rika@paymentswit.ch";
|
||||||
github = "NekomimiScience";
|
github = "NekomimiScience";
|
||||||
|
|
24
pkgs/development/tools/rust/cargo-feature/default.nix
Normal file
24
pkgs/development/tools/rust/cargo-feature/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{ lib, rustPlatform, fetchFromGitHub }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "cargo-feature";
|
||||||
|
version = "0.5.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Riey";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0n5kzh756ghfs3cydlcn9mfvpgwy1cjg41h0nd9dbi5cr1fp9x1n";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "0nvl5smibl81b826xcsrjx8p89lcfpj7wqdsvywnj7jd3p5ag03n";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Allows conveniently modify features of crate";
|
||||||
|
homepage = "https://github.com/Riey/cargo-feature";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ riey ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -11240,6 +11240,7 @@ in
|
||||||
};
|
};
|
||||||
cargo-embed = callPackage ../development/tools/rust/cargo-embed { };
|
cargo-embed = callPackage ../development/tools/rust/cargo-embed { };
|
||||||
cargo-expand = callPackage ../development/tools/rust/cargo-expand { };
|
cargo-expand = callPackage ../development/tools/rust/cargo-expand { };
|
||||||
|
cargo-feature = callPackage ../development/tools/rust/cargo-feature { };
|
||||||
cargo-flash = callPackage ../development/tools/rust/cargo-flash { };
|
cargo-flash = callPackage ../development/tools/rust/cargo-flash { };
|
||||||
cargo-fund = callPackage ../development/tools/rust/cargo-fund {
|
cargo-fund = callPackage ../development/tools/rust/cargo-fund {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
|
Loading…
Add table
Reference in a new issue