summaryrefslogtreecommitdiffstats
path: root/pkgs/development/tools/rust/cargo-feature-set/default.nix
blob: 0b282520f23dacde505ef92105a04cfa4b5eea86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 ];
  };
}