nixpkgs/pkgs/development/tools/rust/cargo-outdated/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
916 B
Nix
Raw Normal View History

2021-11-10 17:46:52 +00:00
{ lib
, rustPlatform
, fetchCrate
, pkg-config
, openssl
, stdenv
, curl
, Security
, SystemConfiguration
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-outdated";
2022-04-22 07:31:57 +00:00
version = "0.11.1";
2021-11-10 17:08:03 +00:00
src = fetchCrate {
inherit pname version;
2022-04-22 07:31:57 +00:00
sha256 = "sha256-vEgYmtRAashBRsGDExewqaGsVYF7EJ4ky+cE/PMFW38=";
};
2022-04-22 07:31:57 +00:00
cargoSha256 = "sha256-xstcKIXQDk4ngwWSzMueO47U2oFRHAqvvjRnDXFsPE8=";
2020-03-11 21:19:55 +00:00
2020-03-25 08:39:48 +00:00
nativeBuildInputs = [ pkg-config ];
2021-11-10 17:46:52 +00:00
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
2019-06-24 22:27:08 +00:00
curl
2021-11-10 17:46:52 +00:00
Security
SystemConfiguration
];
meta = with lib; {
description = "A cargo subcommand for displaying when Rust dependencies are out of date";
2020-03-25 08:39:48 +00:00
homepage = "https://github.com/kbknapp/cargo-outdated";
2021-11-10 17:46:52 +00:00
changelog = "https://github.com/kbknapp/cargo-outdated/blob/${version}/CHANGELOG.md";
license = with licenses; [ asl20 /* or */ mit ];
2022-07-30 16:57:56 +00:00
maintainers = with maintainers; [ ivan ];
};
}