mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
27 lines
692 B
Nix
27 lines
692 B
Nix
{ lib, rustPlatform, fetchFromGitHub, stdenv, libiconv }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-feature";
|
|
version = "0.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Riey";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-9TP67YtvRtgLtsKACL5xjXq5kZtYpTWsTqQsbOKPwtY=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-MkLsQebQdqfUuARIdQZg47kMPudstJUgRQgUuovoLes=";
|
|
|
|
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 ];
|
|
};
|
|
}
|
|
|