3e2acf8aff
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
26 lines
694 B
Nix
26 lines
694 B
Nix
{ lib, rustPlatform, fetchFromGitHub, stdenv, libiconv }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-feature";
|
|
version = "0.5.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Riey";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0n5kzh756ghfs3cydlcn9mfvpgwy1cjg41h0nd9dbi5cr1fp9x1n";
|
|
};
|
|
|
|
cargoSha256 = "0nvl5smibl81b826xcsrjx8p89lcfpj7wqdsvywnj7jd3p5ag03n";
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
|
|
|
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 ];
|
|
};
|
|
}
|
|
|