Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: fresh-editor 0.2.1 -> 0.2.3 https://github.com/sinelaw/fresh/releases attrpath: fresh-editor Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] skipping because derivation has updateScript [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/9s4ixqqm7j0k2abba4dhmi0p3wvhmk3j-packages.json.drv building '/nix/store/9s4ixqqm7j0k2abba4dhmi0p3wvhmk3j-packages.json.drv'... Going to be running update for following packages: - fresh-0.2.1 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - fresh-0.2.1: UPDATING ... - fresh-0.2.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/fr/fresh-editor/package.nix b/pkgs/by-name/fr/fresh-editor/package.nix index 8b41ccac867b..3524ac242846 100644 --- a/pkgs/by-name/fr/fresh-editor/package.nix +++ b/pkgs/by-name/fr/fresh-editor/package.nix @@ -12,16 +12,16 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "fresh"; - version = "0.2.1"; + version = "0.2.3"; src = fetchFromGitHub { owner = "sinelaw"; repo = "fresh"; tag = "v${finalAttrs.version}"; - hash = "sha256-wsv5NjNp6jBp8DsqBIAj42yq2lY6fA6v3ADmuaQ0h0Q="; + hash = "sha256-nWMqO4O3Z2SBWYKtAmVci4w8oPepjvJA+MhHdMVkaHw="; }; - cargoHash = "sha256-L2aZPIfHFZMksgqRSBvYYSPO2rHGuTMf60f4b56ELUU="; + cargoHash = "sha256-hi/b9kjKIDGI5RWcYIGVSS9IJyHjt6UxB7zbdRYpLUE="; nativeBuildInputs = [ gzip No auto update branch exists Old version 0.2.1" not present in master derivation file with contents: { lib, rustPlatform, fetchFromGitHub, gzip, makeBinaryWrapper, pkg-config, openssl, gitMinimal, nix-update-script, versionCheckHook, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "fresh"; version = "0.2.3"; src = fetchFromGitHub { owner = "sinelaw"; repo = "fresh"; tag = "v${finalAttrs.version}"; hash = "sha256-nWMqO4O3Z2SBWYKtAmVci4w8oPepjvJA+MhHdMVkaHw="; }; cargoHash = "sha256-hi/b9kjKIDGI5RWcYIGVSS9IJyHjt6UxB7zbdRYpLUE="; nativeBuildInputs = [ gzip makeBinaryWrapper pkg-config ]; nativeCheckInputs = [ gitMinimal rustPlatform.bindgenHook ]; buildInputs = [ openssl ]; preBuild = '' mkdir -p $out/share/fresh-editor/plugins/ ''; postInstall = '' wrapProgram $out/bin/${finalAttrs.meta.mainProgram} \ --add-flags "--no-upgrade-check" rm -rf $out/bin/fresh.dSYM ''; # Tests create a local http server to check update functionality __darwinAllowLocalNetworking = true; # Due to issues with incorrect import paths with the actual app, I have disabled the checks below. Need to report upstream. checkFlags = [ "--skip=e2e::" "--skip=services::plugins::embedded::tests::test_extract_plugins" ]; cargoTestFlags = [ "--lib" "--bins" ]; doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; passthru.updateScript = nix-update-script { }; meta = { description = "Terminal-based text editor with LSP support and TypeScript plugins"; homepage = "https://github.com/sinelaw/fresh"; changelog = "https://github.com/sinelaw/fresh/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl2Only; maintainers = with lib.maintainers; [ chillcicada dwt randoneering ]; mainProgram = "fresh"; platforms = lib.platforms.linux ++ lib.platforms.darwin; sourceProvenance = with lib.sourceTypes; [ fromSource ]; }; })