17 rustPlatform.buildRustPackage rec {
18 pname = "cargo-update";
22 inherit pname version;
23 hash = "sha256-jLv/9Fvg+1HNIhfm0D/vvMR9J+Enztj9rXQE1kZITGI=";
26 cargoHash = "sha256-rwXpQkL6ysMBraLIMk2zQe0vmb9uuePWufBjRVzaBOA=";
33 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
42 ] ++ lib.optionals stdenv.hostPlatform.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 = "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 ];