17 rustPlatform.buildRustPackage rec {
18 pname = "cargo-update";
22 inherit pname version;
23 sha256 = "sha256-/9igT1/3ck8Roy2poq1urf+cLblentOB7S9Hh6uqIEw=";
26 cargoHash = "sha256-pdWVp9+CLnNO7+U0a8WXWHZ+EeGNYx9J7WWAI1MTDvc=";
33 ] ++ lib.optionals stdenv.isDarwin [
42 ] ++ lib.optionals stdenv.isDarwin [
44 darwin.apple_sdk.frameworks.Security
48 # Man pages contain non-ASCII, so explicitly set encoding to UTF-8.
50 RUBYOPT="-E utf-8:utf-8" \
51 ronn -r --organization="cargo-update developers" man/*.md
55 installManPage man/*.1
59 LIBGIT2_NO_VENDOR = 1;
63 description = "A cargo subcommand for checking and applying updates to installed executables";
64 homepage = "https://github.com/nabijaczleweli/cargo-update";
65 changelog = "https://github.com/nabijaczleweli/cargo-update/releases/tag/v${version}";
66 license = licenses.mit;
67 maintainers = with maintainers; [ gerschtli Br1ght0ne johntitor matthiasbeyer ];