@@ -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+