2021-09-18 10:52:07 +00:00
|
|
|
{ mkDerivation, lib, stdenv, fetchurl
|
|
|
|
, qmake, qttools, qtbase, qtsvg, qtdeclarative, qtxmlpatterns, qtwebsockets
|
|
|
|
, qtx11extras, qtwayland
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "qownnotes";
|
2022-08-21 13:32:41 +00:00
|
|
|
version = "22.8.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
|
2021-05-28 09:39:13 +00:00
|
|
|
# Fetch the checksum of current version with curl:
|
|
|
|
# curl https://download.tuxfamily.org/qownnotes/src/qownnotes-<version>.tar.xz.sha256
|
2022-08-21 13:32:41 +00:00
|
|
|
sha256 = "82b231c53c485671568571e97f34b98887b0cee6e8a336a61e7d490edc605061";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake qttools ];
|
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
buildInputs = [ qtbase qtsvg qtdeclarative qtxmlpatterns qtwebsockets qtx11extras ]
|
|
|
|
++ lib.optionals stdenv.isLinux [ qtwayland ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
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.";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.qownnotes.org/";
|
2021-04-05 15:23:46 +00:00
|
|
|
license = licenses.gpl2Only;
|
2022-08-12 12:06:08 +00:00
|
|
|
maintainers = with maintainers; [ totoroot ];
|
2021-05-28 09:39:13 +00:00
|
|
|
platforms = platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|