summary refs log tree commit diff
path: root/pkgs/applications/editors/scite
diff options
context:
space:
mode:
authorrszibele <rszibele.nospam@example.com>2014-01-23 10:35:02 +0100
committerrszibele <rszibele.nospam@example.com>2014-01-23 10:35:02 +0100
commit1d509674244522851ede191d9ff8e58bcecd4278 (patch)
treee42a1a916e802234ffb0029acd58de2344349ca5 /pkgs/applications/editors/scite
parent15006a1788657256f7721755f7c7e313bbc767ae (diff)
downloadnixpkgs-1d509674244522851ede191d9ff8e58bcecd4278.tar
nixpkgs-1d509674244522851ede191d9ff8e58bcecd4278.tar.gz
nixpkgs-1d509674244522851ede191d9ff8e58bcecd4278.tar.bz2
nixpkgs-1d509674244522851ede191d9ff8e58bcecd4278.tar.lz
nixpkgs-1d509674244522851ede191d9ff8e58bcecd4278.tar.xz
nixpkgs-1d509674244522851ede191d9ff8e58bcecd4278.tar.zst
nixpkgs-1d509674244522851ede191d9ff8e58bcecd4278.zip
Added SciTE 3.3.7.
Diffstat (limited to 'pkgs/applications/editors/scite')
-rw-r--r--pkgs/applications/editors/scite/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/applications/editors/scite/default.nix b/pkgs/applications/editors/scite/default.nix
new file mode 100644
index 00000000000..234ee1f065e
--- /dev/null
+++ b/pkgs/applications/editors/scite/default.nix
@@ -0,0 +1,35 @@
+{ stdenv, fetchurl, pkgconfig, gtk }:
+
+let
+  version = "3.3.7";
+
+  version_short = stdenv.lib.replaceChars [ "." ] [ "" ] "${version}";
+in stdenv.mkDerivation {
+  name = "scite-${version}";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/project/scintilla/SciTE/${version}/scite${version_short}.tgz";
+    sha256 = "0x7i6yxq50frsjkrp3lc5zy0d1ssq2n91igjn0dmqajpg7kls2dd";
+  };
+
+  buildInputs = [ pkgconfig gtk ];
+  sourceRoot = "scintilla/gtk";
+
+  buildPhase = ''
+    make
+    cd ../../scite/gtk
+    make prefix=$out/
+  '';
+
+  installPhase = ''
+    make install prefix=$out/
+  '';
+
+  meta = {
+    homepage = "http://www.scintilla.org/SciTE.html";
+    description = "SCIntilla based Text Editor";
+    license = stdenv.lib.licenses.mit;
+    platforms = stdenv.lib.platforms.linux;
+    maintainers = stdenv.lib.maintainers.rszibele;
+  };
+}