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