From bfe3f70fc8ea6738b9655762cb5db6d6f8b73418 Mon Sep 17 00:00:00 2001 From: rszibele Date: Sun, 2 Oct 2016 15:59:01 +0200 Subject: [PATCH] notepadqq: init at 0.53.0 --- .../editors/notepadqq/default.nix | 33 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 +++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/applications/editors/notepadqq/default.nix diff --git a/pkgs/applications/editors/notepadqq/default.nix b/pkgs/applications/editors/notepadqq/default.nix new file mode 100644 index 000000000000..0de33d6d1949 --- /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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ea2feb5e2362..1513a4b4fcbf 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13754,6 +13754,10 @@ in nedit = callPackage ../applications/editors/nedit { }; + notepadqq = callPackage ../applications/editors/notepadqq { + qtbase = qt55; + }; + notmuch = callPackage ../applications/networking/mailreaders/notmuch { # No need to build Emacs - notmuch.el works just fine without # byte-compilation. Use emacsPackages.notmuch if you want to