about summary refs log tree commit diff
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
parent15006a1788657256f7721755f7c7e313bbc767ae (diff)
downloadnixlib-1d509674244522851ede191d9ff8e58bcecd4278.tar
nixlib-1d509674244522851ede191d9ff8e58bcecd4278.tar.gz
nixlib-1d509674244522851ede191d9ff8e58bcecd4278.tar.bz2
nixlib-1d509674244522851ede191d9ff8e58bcecd4278.tar.lz
nixlib-1d509674244522851ede191d9ff8e58bcecd4278.tar.xz
nixlib-1d509674244522851ede191d9ff8e58bcecd4278.tar.zst
nixlib-1d509674244522851ede191d9ff8e58bcecd4278.zip
Added SciTE 3.3.7.
-rw-r--r--lib/maintainers.nix1
-rw-r--r--pkgs/applications/editors/scite/default.nix35
-rw-r--r--pkgs/top-level/all-packages.nix2
3 files changed, 38 insertions, 0 deletions
diff --git a/lib/maintainers.nix b/lib/maintainers.nix
index 3c7a399623d5..f39a3547938d 100644
--- a/lib/maintainers.nix
+++ b/lib/maintainers.nix
@@ -54,6 +54,7 @@
   rob = "Rob Vermaas <rob.vermaas@gmail.com>";
   roconnor = "Russell O'Connor <roconnor@theorem.ca>";
   roelof = "Roelof Wobben <rwobben@hotmail.com>";
+  rszibele = "Richard Szibele <richard_szibele@hotmail.com>";
   sander = "Sander van der Burg <s.vanderburg@tudelft.nl>";
   shlevy = "Shea Levy <shea@shealevy.com>";
   simons = "Peter Simons <simons@cryp.to>";
diff --git a/pkgs/applications/editors/scite/default.nix b/pkgs/applications/editors/scite/default.nix
new file mode 100644
index 000000000000..234ee1f065e4
--- /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;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 9f7de5e46735..3d4c780cca25 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -8621,6 +8621,8 @@ let
 
   sbagen = callPackage ../applications/misc/sbagen { };
 
+  scite = callPackage ../applications/editors/scite { };
+
   scribus = callPackage ../applications/office/scribus {
     inherit (gnome) libart_lgpl;
   };