diff options
Diffstat (limited to 'pkgs/development/tools/rust/cargo-feature-set/default.nix')
-rw-r--r-- | pkgs/development/tools/rust/cargo-feature-set/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/tools/rust/cargo-feature-set/default.nix b/pkgs/development/tools/rust/cargo-feature-set/default.nix new file mode 100644 index 000000000000..0b282520f23d --- /dev/null +++ b/pkgs/development/tools/rust/cargo-feature-set/default.nix @@ -0,0 +1,23 @@ +{ lib, stdenv, fetchFromGitHub, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "cargo-feature-set"; + version = "0.5.0"; + + src = fetchFromGitHub { + owner = "badboy"; + repo = "cargo-feature-set"; + rev = "v${version}"; + sha256 = "sha256-hKdH+vWtigKtD1rgnOEEULZ9dxh/U/QALmocxOJdEG4="; + }; + + cargoSha256 = "sha256-J7iJ//9q785jGaL143jxbhvr8UWBk7NN8S3Hh65dieA="; + + meta = with lib; { + description = "Extract the features for every compiled crate from cargo metadata"; + homepage = "https://github.com/badboy/cargo-feature-set"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ matthiasbeyer ]; + }; +} + |