1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

cargo-outdated: init at unstable-2019-04-13

This commit is contained in:
Sondre Nilsen 2019-04-19 17:14:42 +02:00 committed by Vladyslav M
parent 527dfd3ba9
commit 67d03fec53
No known key found for this signature in database
GPG key ID: 3B1AD98E3D65BD4D
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, darwin }:
rustPlatform.buildRustPackage rec {
pname = "cargo-outdated";
version = "unstable-2019-04-13";
src = fetchFromGitHub {
owner = "kbknapp";
repo = pname;
rev = "ce4b6baddc94b77a155abbb5a4fa4d3b31a45598";
sha256 = "0x00vn0ldnm2hvndfmq4g4q5w6axyg9vsri3i5zxhmir7423xabp";
};
cargoSha256 = "1xqii2z0asgkwn1ny9n19w7d4sjz12a6i55x2pf4cfrciapdpvdl";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl ]
++ stdenv.lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
meta = with stdenv.lib; {
description = "A cargo subcommand for displaying when Rust dependencies are out of date";
homepage = https://github.com/kbknapp/cargo-outdated;
license = with licenses; [ asl20 /* or */ mit ];
platforms = platforms.all;
maintainers = [ maintainers.sondr3 ];
};
}

View file

@ -7762,6 +7762,7 @@ in
cargo-download = callPackage ../tools/package-management/cargo-download { };
cargo-edit = callPackage ../tools/package-management/cargo-edit { };
cargo-outdated = callPackage ../tools/package-management/cargo-outdated {};
cargo-release = callPackage ../tools/package-management/cargo-release {
inherit (darwin.apple_sdk.frameworks) Security;
};