18 rustPlatform.buildRustPackage rec {
19 pname = "cargo-update";
23 inherit pname version;
24 hash = "sha256-jLv/9Fvg+1HNIhfm0D/vvMR9J+Enztj9rXQE1kZITGI=";
27 cargoHash = "sha256-rwXpQkL6ysMBraLIMk2zQe0vmb9uuePWufBjRVzaBOA=";
36 ++ lib.optionals stdenv.hostPlatform.isDarwin [
47 ++ lib.optionals stdenv.hostPlatform.isDarwin [
49 darwin.apple_sdk.frameworks.Security
53 # Man pages contain non-ASCII, so explicitly set encoding to UTF-8.
55 RUBYOPT="-E utf-8:utf-8" \
56 ronn -r --organization="cargo-update developers" man/*.md
60 installManPage man/*.1
64 LIBGIT2_NO_VENDOR = 1;
68 description = "Cargo subcommand for checking and applying updates to installed executables";
69 homepage = "https://github.com/nabijaczleweli/cargo-update";
70 changelog = "https://github.com/nabijaczleweli/cargo-update/releases/tag/v${version}";
71 license = licenses.mit;
72 maintainers = with maintainers; [