blob: 1df9d8d916de5e3fc04869b995c0421a52bd4ae0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{ lib
, rustPlatform
, fetchCrate
, pkg-config
, openssl
, stdenv
, curl
, CoreFoundation
, CoreServices
, Security
, SystemConfiguration
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-outdated";
version = "0.15.0";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-+GPP8Mdoc3LsR2puNu3/pzKg4Umvjd7CxivkHC8YxgM=";
};
cargoHash = "sha256-Lkl7F5ZVlYLBeL3tubdMQ4/KbHYd2dD5IJAX9FO0XUg=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
curl
CoreFoundation
CoreServices
Security
SystemConfiguration
];
meta = with lib; {
description = "A cargo subcommand for displaying when Rust dependencies are out of date";
mainProgram = "cargo-outdated";
homepage = "https://github.com/kbknapp/cargo-outdated";
changelog = "https://github.com/kbknapp/cargo-outdated/blob/v${version}/CHANGELOG.md";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ ivan matthiasbeyer ];
};
}
|