9 version = "4.0-unstable-2018-07-19";
12 url = "https://git.kernel.org/pub/scm/editors/uemacs/uemacs.git";
13 rev = "1cdcf9df88144049750116e36fe20c8c39fa2517";
14 hash = "sha256-QSouqZiBmKBU6FqRRfWtTGRIl5sqJ8tVPYwdytt/43w=";
22 substituteInPlace Makefile --replace "lcurses" "lncurses"
23 substituteInPlace Makefile --replace "/usr/bin" "$out/bin"
24 substituteInPlace Makefile --replace "/usr/lib" "$out/share/uemacs"
26 substituteInPlace epath.h --replace "/usr/global/lib/" "$out/share/uemacs/"
30 mkdir -p $out/{bin,share/uemacs}
35 description = "Linus Torvalds's random version of microemacs with his personal modifications";
36 homepage = "https://git.kernel.org/pub/scm/editors/uemacs/uemacs.git/about/";
37 platforms = platforms.linux;
38 maintainers = with maintainers; [ networkexception ];
40 # MicroEMACS 3.9 can be copied and distributed freely for any
41 # non-commercial purposes. MicroEMACS 3.9 can only be incorporated
42 # into commercial software with the permission of the current author
43 # [Daniel M. Lawrence].
44 license = licenses.unfree;