default.nix (692B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 }: 6 7 stdenv.mkDerivation (finalAttrs: { 8 pname = "edit"; 9 version = "0-unstable-2024-02-04"; 10 11 src = fetchFromGitHub { 12 owner = "arthur-jacquin"; 13 repo = "edit"; 14 rev = "d0814100f003649c5afe3ec6cdd0c8d3fd7593f9"; 15 hash = "sha256-woFX3nGSOY4RSNPGRAt40xHDNOPlO2t1kgzb8U2v5+U="; 16 }; 17 18 makeFlags = [ 19 "CC:=$(CC)" 20 "LDFLAGS=" 21 "PREFIX=$(out)" 22 ]; 23 24 meta = { 25 description = "A suckless, simple, featured text editor"; 26 homepage = "https://github.com/arthur-jacquin/edit"; 27 license = lib.licenses.gpl3; 28 maintainers = [ lib.maintainers.sikmir ]; 29 platforms = lib.platforms.linux; 30 skip.ci = stdenv.isDarwin; 31 }; 32 })