2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, 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";
|
2021-05-14 07:35:43 +02:00
|
|
|
version = "5.0.2";
|
2014-01-23 10:35:02 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-14 07:35:43 +02:00
|
|
|
url = "https://www.scintilla.org/scite502.tgz";
|
|
|
|
sha256 = "00n2gr915f7kvp2250dzn6n0p6lhr6qdlm1m7y2xi6qrrky0bpan";
|
2014-01-23 10:35:02 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-03-19 23:28:35 +01:00
|
|
|
buildInputs = [ gtk2 ];
|
2014-01-23 10:35:02 +01:00
|
|
|
sourceRoot = "scintilla/gtk";
|
|
|
|
|
|
|
|
buildPhase = ''
|
2021-05-14 07:35:43 +02:00
|
|
|
make
|
|
|
|
cd ../../lexilla/src
|
2014-01-23 10:35:02 +01:00
|
|
|
make
|
|
|
|
cd ../../scite/gtk
|
|
|
|
make prefix=$out/
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make install prefix=$out/
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +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
|
|
|
};
|
|
|
|
}
|