{ lib, rustPlatform, fetchFromGitHub, nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "nu_plugin_semver"; version = "0.11.14"; src = fetchFromGitHub { owner = "abusch"; repo = "nu_plugin_semver"; tag = "v${finalAttrs.version}"; hash = "sha256-mfwgwY/iYdMz8Qn6a9zfpMHWHl2n1Q8ClkT+KiCAGyk="; }; cargoHash = "sha256-5zVqMUC+wg2joo1DKuTUdRwsC5iH7uuyML9SnB2bZCs="; passthru.updateScript = nix-update-script { }; meta = { description = "Nushell plugin to work with semver versions"; homepage = "https://github.com/abusch/nu_plugin_semver"; changelog = "https://github.com/abusch/nu_plugin_semver/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ koffydrop ]; mainProgram = "nu_plugin_semver"; }; })