mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
32 lines
921 B
Nix
32 lines
921 B
Nix
{ stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl, libiconv, curl, darwin }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-outdated";
|
|
version = "0.9.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kbknapp";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1aj76wwpnvniv5xdygfv17kj74rxxkvngkvw2019qinm2nv81c3p";
|
|
};
|
|
|
|
cargoSha256 = "0nzxx31nlmrcrcs67z1wci0d4n6kdq83z2ld4bq8xgp6p916f4sl";
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ openssl ]
|
|
++ stdenv.lib.optionals stdenv.isDarwin [
|
|
darwin.apple_sdk.frameworks.Security
|
|
libiconv
|
|
curl
|
|
];
|
|
|
|
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 = with maintainers; [ sondr3 ivan ];
|
|
};
|
|
}
|