1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 08:01:14 +00:00
nixpkgs/pkgs/applications/editors/scite/default.nix

34 lines
721 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, gtk2 }:
2014-01-23 09:35:02 +00:00
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
pname = "scite";
2018-06-01 11:23:01 +01:00
version = "4.0.5";
2014-01-23 09:35:02 +00:00
src = fetchurl {
url = https://www.scintilla.org/scite405.tgz;
2018-06-01 11:23:01 +01:00
sha256 = "0h16wk2986nkkhhdv5g4lxlcn02qwyja24x1r6vf02r1hf46b9q2";
2014-01-23 09:35:02 +00:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk2 ];
2014-01-23 09:35:02 +00:00
sourceRoot = "scintilla/gtk";
buildPhase = ''
make
cd ../../scite/gtk
make prefix=$out/
'';
installPhase = ''
make install prefix=$out/
'';
meta = with stdenv.lib; {
2018-06-27 21:12:57 +01:00
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
};
}