cargo-outdated: 0.16.0 -> 0.17.0

Switch to fetchFromGithub
Use new darwin SDK pattern
This commit is contained in:
Karl Ericsson
2025-03-17 01:09:28 +01:00
parent b6265e5e0e
commit 39b360abb9
2 changed files with 10 additions and 25 deletions
@@ -1,40 +1,27 @@
{
lib,
rustPlatform,
fetchCrate,
fetchFromGitHub,
pkg-config,
openssl,
stdenv,
curl,
CoreFoundation,
CoreServices,
Security,
SystemConfiguration,
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-outdated";
version = "0.16.0";
version = "0.17.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-bAo3098QxepKbvBb9uF6iGNW0+RAKCCMyWfuG5WyREo=";
src = fetchFromGitHub {
owner = "kbknapp";
repo = "cargo-outdated";
rev = "v${version}";
hash = "sha256-ey11ANSflWGnCsn6M9GupgC4DE5mWww6vw5pK0CFdLo=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-h+sxnTAJ1uhPUk5dRiYPgPoxvbpVggnCn0TQ6kRCzO4=";
cargoHash = "sha256-PYlVXGfitsjEGiw07L5b+L8pfxvtkHshIjTXeuPUTdk=";
nativeBuildInputs = [ pkg-config ];
buildInputs =
[ openssl ]
++ lib.optionals stdenv.hostPlatform.isDarwin [
curl
CoreFoundation
CoreServices
Security
SystemConfiguration
];
buildInputs = [ openssl ];
meta = with lib; {
description = "Cargo subcommand for displaying when Rust dependencies are out of date";
+1 -3
View File
@@ -6576,9 +6576,7 @@ with pkgs;
cargo-edit = callPackage ../development/tools/rust/cargo-edit {
inherit (darwin.apple_sdk.frameworks) Security;
};
cargo-outdated = callPackage ../development/tools/rust/cargo-outdated {
inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices Security SystemConfiguration;
};
cargo-outdated = callPackage ../development/tools/rust/cargo-outdated { };
inherit (callPackages ../development/tools/rust/cargo-pgrx { })
cargo-pgrx_0_12_0_alpha_1
cargo-pgrx_0_12_5