nixpkgs-suyu/pkgs/applications/office/qownnotes/default.nix
Matthias Thym b2480d2580
qownnotes: 21.7.4 -> 21.8.12 (#135941)
* qownnotes: 21.7.4 -> 21.8.12

* Update pkgs/applications/office/qownnotes/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-09-05 10:48:02 +02:00

30 lines
1.2 KiB
Nix

{ mkDerivation, lib, stdenv, fetchurl
, qmake, qttools, qtbase, qtsvg, qtdeclarative, qtxmlpatterns, qtwebsockets
, qtx11extras, qtwayland
}:
mkDerivation rec {
pname = "qownnotes";
version = "21.8.12";
src = fetchurl {
url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
# Fetch the checksum of current version with curl:
# curl https://download.tuxfamily.org/qownnotes/src/qownnotes-<version>.tar.xz.sha256
sha256 = "85fbfb6288411ed585de85dd2cfcf3b3308eb4634824b96c5842d091da4cd476";
};
nativeBuildInputs = [ qmake qttools ];
buildInputs = [ qtbase qtsvg qtdeclarative qtxmlpatterns qtwebsockets qtx11extras ]
++ lib.optionals stdenv.isLinux [ qtwayland ];
meta = with lib; {
description = "Plain-text file notepad and todo-list manager with markdown support and Nextcloud/ownCloud integration.";
longDescription = "QOwnNotes is a plain-text file notepad and todo-list manager with markdown support and Nextcloud/ownCloud integration.";
homepage = "https://www.qownnotes.org/";
license = licenses.gpl2Only;
maintainers = with maintainers; [ dtzWill totoroot ];
platforms = platforms.linux;
};
}