38 lines
923 B
Nix
38 lines
923 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchCrate
|
|
, pkg-config
|
|
, openssl
|
|
, stdenv
|
|
, curl
|
|
, Security
|
|
, SystemConfiguration
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-outdated";
|
|
version = "0.10.2";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
sha256 = "sha256-U6qElZkray4kjScv9X4I5m2z1ZWQzqcPYAuPzpyRpW0=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-0J02Uz184zx5xZYhqUmyaAFCQ0aogwy0fQTXbteBdV8=";
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
|
|
curl
|
|
Security
|
|
SystemConfiguration
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A cargo subcommand for displaying when Rust dependencies are out of date";
|
|
homepage = "https://github.com/kbknapp/cargo-outdated";
|
|
changelog = "https://github.com/kbknapp/cargo-outdated/blob/${version}/CHANGELOG.md";
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
|
maintainers = with maintainers; [ sondr3 ivan ];
|
|
};
|
|
}
|