@@ -0,0 +1,33 @@
1+{ stdenv, fetchgit, pkgconfig, which, qtbase }:
2+
3+let
4+ version = "0.53.0";
5+in stdenv.mkDerivation {
6+ name = "notepadqq-${version}";
7+ src = fetchgit {
8+ url = "https://github.com/notepadqq/notepadqq.git";
9+ rev = "3b0751277fb268ec72b466b37d0f0977c536bc1b";
10+ sha256 = "0hw94mn2xg2r58afvz1xg990jinv9aa33942zgwq54qwj61r93hi";
11+ fetchSubmodules = true;
12+ };
13+
14+ nativeBuildInputs = [
15+ pkgconfig which
16+ ];
17+
18+ buildInputs = [
19+ qtbase.qtsvg qtbase.qtwebkit qtbase.qttools
20+ ];
21+
22+ preConfigure = ''
23+ export LRELEASE="lrelease"
24+ '';
25+
26+ meta = {
27+ homepage = "http://notepadqq.altervista.org/";
28+ description = "Notepad++-like editor for the Linux desktop";
29+ license = stdenv.lib.licenses.gpl3;
30+ platforms = stdenv.lib.platforms.linux;
31+ maintainers = with stdenv.lib.maintainers; [ rszibele ];
32+ };
33+}