at 23.05-pre 38 lines 916 B view raw
1{ lib 2, rustPlatform 3, fetchCrate 4, pkg-config 5, openssl 6, stdenv 7, curl 8, Security 9, SystemConfiguration 10}: 11 12rustPlatform.buildRustPackage rec { 13 pname = "cargo-outdated"; 14 version = "0.11.1"; 15 16 src = fetchCrate { 17 inherit pname version; 18 sha256 = "sha256-vEgYmtRAashBRsGDExewqaGsVYF7EJ4ky+cE/PMFW38="; 19 }; 20 21 cargoSha256 = "sha256-xstcKIXQDk4ngwWSzMueO47U2oFRHAqvvjRnDXFsPE8="; 22 23 nativeBuildInputs = [ pkg-config ]; 24 25 buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ 26 curl 27 Security 28 SystemConfiguration 29 ]; 30 31 meta = with lib; { 32 description = "A cargo subcommand for displaying when Rust dependencies are out of date"; 33 homepage = "https://github.com/kbknapp/cargo-outdated"; 34 changelog = "https://github.com/kbknapp/cargo-outdated/blob/${version}/CHANGELOG.md"; 35 license = with licenses; [ asl20 /* or */ mit ]; 36 maintainers = with maintainers; [ ivan ]; 37 }; 38}