Skip to content

Commit a860c6d

Browse files
cargo-outdated: 0.16.0 -> 0.17.0 (#390536)
2 parents a9cef39 + 39b360a commit a860c6d

File tree

2 files changed

+10
-25
lines changed

2 files changed

+10
-25
lines changed

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

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,27 @@
11
{
22
lib,
33
rustPlatform,
4-
fetchCrate,
4+
fetchFromGitHub,
55
pkg-config,
66
openssl,
7-
stdenv,
8-
curl,
9-
CoreFoundation,
10-
CoreServices,
11-
Security,
12-
SystemConfiguration,
137
}:
14-
158
rustPlatform.buildRustPackage rec {
169
pname = "cargo-outdated";
17-
version = "0.16.0";
10+
version = "0.17.0";
1811

19-
src = fetchCrate {
20-
inherit pname version;
21-
hash = "sha256-bAo3098QxepKbvBb9uF6iGNW0+RAKCCMyWfuG5WyREo=";
12+
src = fetchFromGitHub {
13+
owner = "kbknapp";
14+
repo = "cargo-outdated";
15+
rev = "v${version}";
16+
hash = "sha256-ey11ANSflWGnCsn6M9GupgC4DE5mWww6vw5pK0CFdLo=";
2217
};
2318

2419
useFetchCargoVendor = true;
25-
cargoHash = "sha256-h+sxnTAJ1uhPUk5dRiYPgPoxvbpVggnCn0TQ6kRCzO4=";
20+
cargoHash = "sha256-PYlVXGfitsjEGiw07L5b+L8pfxvtkHshIjTXeuPUTdk=";
2621

2722
nativeBuildInputs = [ pkg-config ];
2823

29-
buildInputs =
30-
[ openssl ]
31-
++ lib.optionals stdenv.hostPlatform.isDarwin [
32-
curl
33-
CoreFoundation
34-
CoreServices
35-
Security
36-
SystemConfiguration
37-
];
24+
buildInputs = [ openssl ];
3825

3926
meta = with lib; {
4027
description = "Cargo subcommand for displaying when Rust dependencies are out of date";

pkgs/top-level/all-packages.nix

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6585,9 +6585,7 @@ with pkgs;
65856585
cargo-edit = callPackage ../development/tools/rust/cargo-edit {
65866586
inherit (darwin.apple_sdk.frameworks) Security;
65876587
};
6588-
cargo-outdated = callPackage ../development/tools/rust/cargo-outdated {
6589-
inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices Security SystemConfiguration;
6590-
};
6588+
cargo-outdated = callPackage ../development/tools/rust/cargo-outdated { };
65916589
inherit (callPackages ../development/tools/rust/cargo-pgrx { })
65926590
cargo-pgrx_0_12_0_alpha_1
65936591
cargo-pgrx_0_12_5

0 commit comments

Comments
 (0)