Package Details: fresh-editor 0.4.0-1

Git Clone URL: https://aur.archlinux.org/fresh-editor.git (read-only, click to copy)
Package Base: fresh-editor
Description: A lightweight, fast terminal-based text editor with LSP support and TypeScript plugins
Upstream URL: https://sinelaw.github.io/fresh/
Licenses: GPL-2.0-only
Conflicts: fresh-editor-bin
Provides: fresh-editor
Submitter: sinelaw
Maintainer: sinelaw
Last Packager: sinelaw
Votes: 9
Popularity: 1.10
First Submitted: 2025-12-05 07:20 (UTC)
Last Updated: 2026-06-10 18:15 (UTC)

Latest Comments

« First ‹ Previous 1 2

Phydoux commented on 2025-12-26 22:22 (UTC) (edited on 2025-12-26 22:38 (UTC) by Phydoux)

I did try yoghurt114's solution here but it did not work for me for some reason. A little Google searching and I found this worked perfectly...

Tried installing this the other day and kept getting this error:

==> Validating source files with sha256sums...

fresh-editor-0.1.64.tar.gz ... FAILED

==> ERROR: One or more files did not pass the validity check!

After doing a little research, I found out that I needed to change a line in the PKGBUILD file accordingly: (sorry, this is my first comment here so I don't know how to do the syntax coding thing just yet)

The original like looked like this:

 sha256sum=("long line of letters & numbers here")

So basically, I changed that line to look like this...

 sha256sum=("SKIP")

That fixed it. I was able to install fresh-editor by using that little fix.

Looks like I accidentally figured out the syntax highlighting. :)

yoghurt114 commented on 2025-12-25 20:22 (UTC) (edited on 2025-12-25 20:23 (UTC) by yoghurt114)

The package currently fails to build with two issues:

  1. Checksum mismatch: The source tarball checksum has changed upstream. Current sha256sum should be: 761ff8b32dc17bc9d3ac5e13123cc2582261665bf7073bd46e5b2cb16ab8394c
  2. Cargo build fails with --frozen: The cargo build --frozen in build() fails because windows-sys v0.59.0 isn't in the locked dependencies. Changing --frozen to --locked allows it to fetch the missing crate and build successfully.

Workaround (for yay users):

cd ~/.cache/yay/fresh-editor
sed -i 's/sha256sums=.*/sha256sums=("761ff8b32dc17bc9d3ac5e13123cc2582261665bf7073bd46e5b2cb16ab8394c")/' PKGBUILD
sed -i 's/--frozen/--locked/' PKGBUILD
makepkg -si

ismet commented on 2025-12-19 22:03 (UTC)


...
Downloaded 412 crates (69.9MiB) in 12.82s (largest was `v8` at 33.0MiB)
==> Sources are ready.
fresh-editor-0.1.55-2: parsing pkg list...
==> Making package: fresh-editor 0.1.55-2 (Sat 20 Dec 2025 01:00:28 AM +03)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...

thread 'main' (64963) panicked at src/tools/cargo/src/cargo/ops/cargo_compile/mod.rs:989:14:
packages downloaded: failed to download `windows-sys v0.59.0`

Caused by:
    attempting to make an HTTP request, but --frozen was specified
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'fresh-editor-0.1.55-2': 
error: packages failed to build: fresh-editor-0.1.55-2

bithooked commented on 2025-12-18 15:13 (UTC)

To get this to build, I had to modify the flags in PKGBUILD in ~/.cache/yay/fresh-editor/. On line 23, remove --locked, and on line 31 remove --frozen. Then "git add ." and "git commit -m "fixing build"", then rerun yay -S fresh-editor.

kbipinkumar commented on 2025-12-18 07:26 (UTC)

building the package in clean chroot is failing with following error

==> Starting prepare()...
    Updating crates.io index
error: the lock file /build/fresh-editor/src/fresh-0.1.52/Cargo.lock needs to be updated but --locked was passed to prevent this
If you want to try to generate the lock file without accessing the network, remove the --locked flag and use --offline instead.

sinelaw commented on 2025-12-17 23:58 (UTC)

Fixed the bin issue - there's now a separate fresh-editor-bin package, and the one here is building from source now

danievdm commented on 2025-12-17 14:55 (UTC)

Building fresh-editor...
==> Making package: fresh-editor 0.1.52-1 (Wed 17 Dec 2025 16:53:54)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found fresh-editor-0.1.52.tar.gz
==> Validating source files with sha256sums...
    fresh-editor-0.1.52.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
Failed to build fresh-editor

simona commented on 2025-12-17 13:25 (UTC)

fail checksum

tesfabpel commented on 2025-12-14 12:56 (UTC)

Hi, shouldn't this package be called "fresh-editor-bin"?