mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
27 lines
704 B
Nix
27 lines
704 B
Nix
{ lib, rustPlatform, fetchFromGitHub, stdenv, libiconv }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-feature";
|
|
version = "0.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Riey";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-UPpqkz/PwoMaJan9itfldjyTmZmiMb6PzCyu9Vtjj1s=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-8qrpW/gU7BvxN3nSbFWhbgu5bwsdzYZTS3w3kcwsGbU=";
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
|
|
|
meta = with lib; {
|
|
description = "Cargo plugin to manage dependency features";
|
|
homepage = "https://github.com/Riey/cargo-feature";
|
|
license = licenses.mit;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ riey matthiasbeyer ];
|
|
};
|
|
}
|
|
|