summary refs log tree commit diff
diff options
context:
space:
mode:
authorcillianderoiste <cillian.deroiste@gmail.com>2014-02-12 01:39:40 +0100
committercillianderoiste <cillian.deroiste@gmail.com>2014-02-12 01:39:40 +0100
commitc75ce202e64175ef3ca9f73b227741d2e2b978ad (patch)
treece1cfad548ca24d49a6f635bc06e1e1194eb96ff
parent0774192dd38c0c769628c3fb9e5836d6fba6cecc (diff)
parent1d509674244522851ede191d9ff8e58bcecd4278 (diff)
downloadnixpkgs-c75ce202e64175ef3ca9f73b227741d2e2b978ad.tar
nixpkgs-c75ce202e64175ef3ca9f73b227741d2e2b978ad.tar.gz
nixpkgs-c75ce202e64175ef3ca9f73b227741d2e2b978ad.tar.bz2
nixpkgs-c75ce202e64175ef3ca9f73b227741d2e2b978ad.tar.lz
nixpkgs-c75ce202e64175ef3ca9f73b227741d2e2b978ad.tar.xz
nixpkgs-c75ce202e64175ef3ca9f73b227741d2e2b978ad.tar.zst
nixpkgs-c75ce202e64175ef3ca9f73b227741d2e2b978ad.zip
Merge pull request #1570 from rszibele/scite
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 fa0d1d81e61..d859728c9f8 100644
--- a/lib/maintainers.nix
+++ b/lib/maintainers.nix
@@ -56,6 +56,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 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;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 36374308bbb..31b5879bafa 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -8728,6 +8728,8 @@ let
 
   sbagen = callPackage ../applications/misc/sbagen { };
 
+  scite = callPackage ../applications/editors/scite { };
+
   scribus = callPackage ../applications/office/scribus {
     inherit (gnome) libart_lgpl;
   };