nixpkgs/pkgs/applications/editors/scite/default.nix

34 lines
768 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, gtk2 }:
2014-01-23 09:35:02 +00:00
stdenv.mkDerivation rec {
2014-01-23 09:35:02 +00:00
name = "scite-${version}";
version = "3.7.3";
2014-01-23 09:35:02 +00:00
src = fetchurl {
url = "mirror://sourceforge/project/scintilla/SciTE/${version}/scite373.tgz";
sha256 = "05d81h1fqhjlw9apvrni3x2q4a562cd5ra1071qpna8h4ml0an9m";
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; {
2014-01-23 09:35:02 +00:00
homepage = "http://www.scintilla.org/SciTE.html";
description = "SCIntilla based Text Editor";
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ maintainers.rszibele ];
2014-01-23 09:35:02 +00:00
};
}