about summary refs log tree commit diff
path: root/pkgs/applications/editors/notepadqq
diff options
context:
space:
mode:
authorrszibele <richard_szibele@hotmail.com>2016-10-02 15:59:01 +0200
committerrszibele <richard_szibele@hotmail.com>2016-10-02 15:59:01 +0200
commitbfe3f70fc8ea6738b9655762cb5db6d6f8b73418 (patch)
tree4eb722a3bf45f79ddca311985ada3e47b5b58fd9 /pkgs/applications/editors/notepadqq
parentc2ee2a723f4d97de650e972e69c03acb5c2197da (diff)
notepadqq: init at 0.53.0
Diffstat (limited to 'pkgs/applications/editors/notepadqq')
-rw-r--r--pkgs/applications/editors/notepadqq/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/editors/notepadqq/default.nix b/pkgs/applications/editors/notepadqq/default.nix
new file mode 100644
index 0000000000000..0de33d6d1949c
--- /dev/null
+++ b/pkgs/applications/editors/notepadqq/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, fetchgit, pkgconfig, which, qtbase }:
+
+let
+  version = "0.53.0";
+in stdenv.mkDerivation {
+  name = "notepadqq-${version}";
+  src = fetchgit {
+    url = "https://github.com/notepadqq/notepadqq.git";
+    rev = "3b0751277fb268ec72b466b37d0f0977c536bc1b";
+    sha256 = "0hw94mn2xg2r58afvz1xg990jinv9aa33942zgwq54qwj61r93hi";
+    fetchSubmodules = true;
+  };
+
+  nativeBuildInputs = [
+    pkgconfig which
+  ];
+
+  buildInputs = [
+    qtbase.qtsvg qtbase.qtwebkit qtbase.qttools
+  ];
+
+  preConfigure = ''
+    export LRELEASE="lrelease"
+  '';
+
+  meta = {
+    homepage = "http://notepadqq.altervista.org/";
+    description = "Notepad++-like editor for the Linux desktop";
+    license = stdenv.lib.licenses.gpl3;
+    platforms = stdenv.lib.platforms.linux;
+    maintainers = with stdenv.lib.maintainers; [ rszibele ];
+  };
+}