14 stdenv.mkDerivation (finalAttrs: {
19 url = "mirror://sourceforge/fte/fte-20110708-src.zip";
20 hash = "sha256-1jEcVC0/DyiQpUpmHDtnIo4nuJS0Fk6frynwFPJUSZ4=";
23 ftecommon = fetchurl {
24 url = "mirror://sourceforge/fte/fte-20110708-common.zip";
25 hash = "sha256-WEEVeLMZWHZfQtK/Kbeu3Z+RaVXCwZyWkJocA+Akavc=";
33 nativeBuildInputs = [ unzip ];
43 hardeningDisable = [ "all" ];
44 enableParallelBuilding = true;
46 env.NIX_CFLAGS_COMPILE = "-DHAVE_STRLCAT -DHAVE_STRLCPY";
47 installFlags = [ "INSTALL_NONROOT=1" ];
49 # not setting it cause fte to not find xfte
50 makeFlags = [ "PREFIX=${placeholder "out"}" ];
53 description = "Free text editor for developers";
54 homepage = "https://fte.sourceforge.net/";
55 license = lib.licenses.gpl2;
56 maintainers = with lib.maintainers; [ sigmanificient ];
57 platforms = lib.platforms.all;