a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
40 lines
950 B
Nix
40 lines
950 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchCrate
|
|
, pkg-config
|
|
, openssl
|
|
, stdenv
|
|
, curl
|
|
, CoreFoundation
|
|
, Security
|
|
, SystemConfiguration
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-outdated";
|
|
version = "0.11.2";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
sha256 = "sha256-SkFMdE7VAZrT7e5SMrfW8bBA6zPqQV7LhSy3OmshUAs=";
|
|
};
|
|
|
|
cargoHash = "sha256-ZcG/4vyrcJNAMiZdR3MFyqX5Udn8wGAfiGT5uP1BSMo=";
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
|
|
curl
|
|
CoreFoundation
|
|
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; [ ivan ];
|
|
};
|
|
}
|