diff --git a/pkgs/development/tools/rust/cargo-all-features/default.nix b/pkgs/development/tools/rust/cargo-all-features/default.nix new file mode 100644 index 000000000000..3d36b42ebe7c --- /dev/null +++ b/pkgs/development/tools/rust/cargo-all-features/default.nix @@ -0,0 +1,22 @@ +{ lib, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "cargo-all-features"; + version = "1.6.0"; + + src = fetchFromGitHub { + owner = "frewsxcv"; + repo = pname; + rev = version; + sha256 = "1pdr34ygc0qmh0dyrw1qcrh1vgg9jv9lm6ypl3fgjzz7npdj1dw4"; + }; + + cargoSha256 = "sha256-BsRJo55gYT8OkDUBepWq48sW7QPt5OZkm8RR9f7HqZY="; + + meta = with lib; { + description = "A Cargo subcommand to build and test all feature flag combinations"; + homepage = "https://github.com/frewsxcv/cargo-all-features"; + license = with licenses; [ asl20 /* or */ mit ]; + maintainers = with maintainers; [ figsoda ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index aa93baae26e2..1de6e01b6f91 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12356,6 +12356,7 @@ with pkgs; defaultCrateOverrides = callPackage ../build-support/rust/default-crate-overrides.nix { }; cargo-about = callPackage ../tools/package-management/cargo-about { }; + cargo-all-features = callPackage ../development/tools/rust/cargo-all-features { }; cargo-audit = callPackage ../tools/package-management/cargo-audit { inherit (darwin.apple_sdk.frameworks) Security; };