2016-09-11 23:24:51 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk2 }:
|
2014-01-23 10:35:02 +01:00
|
|
|
|
2017-03-19 23:28:35 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2014-01-23 10:35:02 +01:00
|
|
|
name = "scite-${version}";
|
2017-07-12 22:11:36 +02:00
|
|
|
version = "3.7.5";
|
2014-01-23 10:35:02 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-07-12 22:11:36 +02:00
|
|
|
url = http://www.scintilla.org/scite375.tgz;
|
|
|
|
sha256 = "11pg9bifyyqpblqsrl1b9f8shb3fa6fgzclvjba6hwh7hh98drji";
|
2014-01-23 10:35:02 +01:00
|
|
|
};
|
|
|
|
|
2017-03-19 23:28:35 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ gtk2 ];
|
2014-01-23 10:35:02 +01:00
|
|
|
sourceRoot = "scintilla/gtk";
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
make
|
|
|
|
cd ../../scite/gtk
|
|
|
|
make prefix=$out/
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make install prefix=$out/
|
|
|
|
'';
|
|
|
|
|
2017-03-19 23:28:35 +01:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://www.scintilla.org/SciTE.html;
|
2014-01-23 10:35:02 +01:00
|
|
|
description = "SCIntilla based Text Editor";
|
2017-03-19 23:28:35 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.rszibele ];
|
2014-01-23 10:35:02 +01:00
|
|
|
};
|
|
|
|
}
|