2016-09-11 23:24:51 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk2 }:
|
2014-01-23 10:35:02 +01:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "scite";
|
2018-06-01 12:23:01 +02:00
|
|
|
version = "4.0.5";
|
2014-01-23 10:35:02 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = https://www.scintilla.org/scite405.tgz;
|
2018-06-01 12:23:01 +02:00
|
|
|
sha256 = "0h16wk2986nkkhhdv5g4lxlcn02qwyja24x1r6vf02r1hf46b9q2";
|
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; {
|
2018-06-27 22:12:57 +02:00
|
|
|
homepage = https://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
|
|
|
};
|
|
|
|
}
|