1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 05:25:38 +00:00
nixpkgs/pkgs/applications/editors/scite/default.nix

36 lines
759 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, gtk2 }:
2014-01-23 09:35:02 +00:00
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
pname = "scite";
2021-05-14 06:35:43 +01:00
version = "5.0.2";
2014-01-23 09:35:02 +00:00
src = fetchurl {
2021-05-14 06:35:43 +01:00
url = "https://www.scintilla.org/scite502.tgz";
sha256 = "00n2gr915f7kvp2250dzn6n0p6lhr6qdlm1m7y2xi6qrrky0bpan";
2014-01-23 09:35:02 +00:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk2 ];
2014-01-23 09:35:02 +00:00
sourceRoot = "scintilla/gtk";
buildPhase = ''
2021-05-14 06:35:43 +01:00
make
cd ../../lexilla/src
2014-01-23 09:35:02 +00:00
make
cd ../../scite/gtk
make prefix=$out/
'';
installPhase = ''
make install prefix=$out/
'';
meta = with lib; {
homepage = "https://www.scintilla.org/SciTE.html";
2014-01-23 09:35:02 +00:00
description = "SCIntilla based Text Editor";
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ maintainers.rszibele ];
2014-01-23 09:35:02 +00:00
};
}