lol
at 23.05-pre 26 lines 690 B view raw
1{ lib, rustPlatform, fetchFromGitHub, stdenv, libiconv }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "cargo-feature"; 5 version = "0.7.0"; 6 7 src = fetchFromGitHub { 8 owner = "Riey"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-UPpqkz/PwoMaJan9itfldjyTmZmiMb6PzCyu9Vtjj1s="; 12 }; 13 14 cargoSha256 = "sha256-8qrpW/gU7BvxN3nSbFWhbgu5bwsdzYZTS3w3kcwsGbU="; 15 16 buildInputs = lib.optional stdenv.isDarwin libiconv; 17 18 meta = with lib; { 19 description = "Cargo plugin to manage dependency features"; 20 homepage = "https://github.com/Riey/cargo-feature"; 21 license = licenses.mit; 22 platforms = platforms.unix; 23 maintainers = with maintainers; [ riey ]; 24 }; 25} 26