lol
1{ stdenv, fetchurl, pkgconfig, gtk2 }:
2
3stdenv.mkDerivation rec {
4 name = "scite-${version}";
5 version = "3.7.5";
6
7 src = fetchurl {
8 url = http://www.scintilla.org/scite375.tgz;
9 sha256 = "11pg9bifyyqpblqsrl1b9f8shb3fa6fgzclvjba6hwh7hh98drji";
10 };
11
12 nativeBuildInputs = [ pkgconfig ];
13 buildInputs = [ gtk2 ];
14 sourceRoot = "scintilla/gtk";
15
16 buildPhase = ''
17 make
18 cd ../../scite/gtk
19 make prefix=$out/
20 '';
21
22 installPhase = ''
23 make install prefix=$out/
24 '';
25
26 meta = with stdenv.lib; {
27 homepage = http://www.scintilla.org/SciTE.html;
28 description = "SCIntilla based Text Editor";
29 license = licenses.mit;
30 platforms = platforms.linux;
31 maintainers = [ maintainers.rszibele ];
32 };
33}