package.nix (755B)
1 { 2 lib, 3 stdenv, 4 fetchFromSourcehut, 5 }: 6 7 stdenv.mkDerivation (finalAttrs: { 8 pname = "edit"; 9 version = "0-unstable-2026-02-19"; 10 11 src = fetchFromSourcehut { 12 owner = "~arthur-jacquin"; 13 repo = "edit"; 14 rev = "f23ba2414daaa0e5e9c794dde67cfb32a301de15"; 15 hash = "sha256-AtAR9WnJ4+R1ic0tayA//3DNrAJet6w2ma7zUbAQjcY="; 16 }; 17 18 makeFlags = [ 19 "CC:=$(CC)" 20 "LDFLAGS=" 21 "PREFIX=$(out)" 22 ]; 23 24 env.NIX_CFLAGS_COMPILE = "-Wno-error=unused-result"; 25 26 meta = { 27 description = "A suckless, simple, featured text editor"; 28 homepage = "https://github.com/arthur-jacquin/edit"; 29 license = lib.licenses.gpl3; 30 maintainers = [ lib.maintainers.sikmir ]; 31 platforms = lib.platforms.linux; 32 skip.ci = stdenv.isDarwin; 33 }; 34 })
