2021-11-10 18:46:52 +01:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchCrate
|
|
|
|
, pkg-config
|
|
|
|
, openssl
|
|
|
|
, stdenv
|
|
|
|
, curl
|
|
|
|
, Security
|
|
|
|
, SystemConfiguration
|
|
|
|
}:
|
2019-04-19 17:14:42 +02:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-outdated";
|
2021-12-06 08:31:52 +01:00
|
|
|
version = "0.10.2";
|
2019-04-19 17:14:42 +02:00
|
|
|
|
2021-11-10 18:08:03 +01:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2021-12-06 08:31:52 +01:00
|
|
|
sha256 = "sha256-U6qElZkray4kjScv9X4I5m2z1ZWQzqcPYAuPzpyRpW0=";
|
2019-04-19 17:14:42 +02:00
|
|
|
};
|
|
|
|
|
2021-12-06 08:31:52 +01:00
|
|
|
cargoSha256 = "sha256-0J02Uz184zx5xZYhqUmyaAFCQ0aogwy0fQTXbteBdV8=";
|
2020-03-11 22:19:55 +01:00
|
|
|
|
2020-03-25 09:39:48 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2021-11-10 18:46:52 +01:00
|
|
|
|
|
|
|
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
|
2019-06-25 00:27:08 +02:00
|
|
|
curl
|
2021-11-10 18:46:52 +01:00
|
|
|
Security
|
|
|
|
SystemConfiguration
|
2019-04-19 17:14:42 +02:00
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-04-19 17:14:42 +02:00
|
|
|
description = "A cargo subcommand for displaying when Rust dependencies are out of date";
|
2020-03-25 09:39:48 +01:00
|
|
|
homepage = "https://github.com/kbknapp/cargo-outdated";
|
2021-11-10 18:46:52 +01:00
|
|
|
changelog = "https://github.com/kbknapp/cargo-outdated/blob/${version}/CHANGELOG.md";
|
2019-04-19 17:14:42 +02:00
|
|
|
license = with licenses; [ asl20 /* or */ mit ];
|
2019-12-14 16:39:08 +01:00
|
|
|
maintainers = with maintainers; [ sondr3 ivan ];
|
2019-04-19 17:14:42 +02:00
|
|
|
};
|
|
|
|
}
|