diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/applications/office/qownnotes/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/applications/office/qownnotes/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/applications/office/qownnotes/default.nix b/infra/libkookie/nixpkgs/pkgs/applications/office/qownnotes/default.nix new file mode 100644 index 000000000000..99b021429a65 --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/applications/office/qownnotes/default.nix @@ -0,0 +1,27 @@ +{ mkDerivation, lib, fetchurl, qmake, qttools, qtbase, qtsvg, qtdeclarative, qtxmlpatterns, qtwayland, qtwebsockets, stdenv /* for isLinux */ }: + +mkDerivation rec { + pname = "qownnotes"; + version = "20.2.5"; + + 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-20.2.5.tar.xz.sha256 + sha256 = "c26d2a86a521cd243ec0a4788e7627e91cb5877dace73d93dd7d35dd02e9e4c5"; + }; + + nativeBuildInputs = [ qmake qttools ]; + buildInputs = [ + qtbase qtsvg qtdeclarative qtxmlpatterns qtwebsockets + ] ++ lib.optional stdenv.isLinux qtwayland; + + meta = with 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 ]; + }; +} |