889482aab3
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
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.11.1";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
sha256 = "sha256-vEgYmtRAashBRsGDExewqaGsVYF7EJ4ky+cE/PMFW38=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-xstcKIXQDk4ngwWSzMueO47U2oFRHAqvvjRnDXFsPE8=";
|
|
|
|
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 ];
|
|
};
|
|
}
|