From bb746dad2ed96613a1f00d8f6c51857d6cad710c Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Sun, 27 Jan 2019 15:22:10 -0600 Subject: [PATCH] qownnotes: init at 19.1.8 --- .../applications/office/qownnotes/default.nix | 27 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/applications/office/qownnotes/default.nix diff --git a/pkgs/applications/office/qownnotes/default.nix b/pkgs/applications/office/qownnotes/default.nix new file mode 100644 index 000000000000..7f65c4cc152a --- /dev/null +++ b/pkgs/applications/office/qownnotes/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, qmake, qttools, qtbase, qtsvg, qttranslations, qtdeclarative, qtxmlpatterns, qtwayland, qtwebsockets }: + +stdenv.mkDerivation rec { + pname = "qownnotes"; + version = "19.1.8"; + + src = fetchurl { + url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz"; + # Can grab official version like so: + # $ curl https://download.tuxfamily.org/qownnotes/src/qownnotes-19.1.8.tar.xz.sha256 + sha256 = "873ed9e3a711bc19744a13b98ac5cb3659bd97e753c7e089fbc49bd044cec4fb"; + }; + + nativeBuildInputs = [ qmake qttools ]; + buildInputs = [ + qtbase qtsvg qtdeclarative qtxmlpatterns qtwebsockets + ] ++ stdenv.lib.optional stdenv.isLinux qtwayland; + + meta = with stdenv.lib; { + description = "Plain-text file notepad and todo-list manager with markdown support and ownCloud / Nextcloud integration"; + + homepage = https://www.qownnotes.org/; + platforms = platforms.all; + license = licenses.gpl2; + maintainers = with maintainers; [ dtzWill ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 510018c2301e..d6797b44fa1f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5011,6 +5011,8 @@ in qjoypad = callPackage ../tools/misc/qjoypad { }; + qownnotes = libsForQt5.callPackage ../applications/office/qownnotes { }; + qpdf = callPackage ../development/libraries/qpdf { }; qprint = callPackage ../tools/text/qprint { };