2021-09-05 11:48:02 +03:00
|
|
|
{ mkDerivation, lib, stdenv, fetchurl
|
|
|
|
, qmake, qttools, qtbase, qtsvg, qtdeclarative, qtxmlpatterns, qtwebsockets
|
|
|
|
, qtx11extras, qtwayland
|
|
|
|
}:
|
2019-01-28 00:22:10 +03:00
|
|
|
|
2019-08-01 08:35:51 +03:00
|
|
|
mkDerivation rec {
|
2019-01-28 00:22:10 +03:00
|
|
|
pname = "qownnotes";
|
2022-07-24 16:18:28 +03:00
|
|
|
version = "22.7.6";
|
2019-01-28 00:22:10 +03:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
|
2021-05-11 19:09:19 +03:00
|
|
|
# Fetch the checksum of current version with curl:
|
|
|
|
# curl https://download.tuxfamily.org/qownnotes/src/qownnotes-<version>.tar.xz.sha256
|
2022-07-24 16:18:28 +03:00
|
|
|
sha256 = "d2f0b6f62714495dd14387535ab34c0cf94d1679c5db4a257ef87bb855b7771b";
|
2019-01-28 00:22:10 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake qttools ];
|
|
|
|
|
2021-05-11 19:09:19 +03:00
|
|
|
buildInputs = [ qtbase qtsvg qtdeclarative qtxmlpatterns qtwebsockets qtx11extras ]
|
|
|
|
++ lib.optionals stdenv.isLinux [ qtwayland ];
|
2019-01-28 00:22:10 +03:00
|
|
|
|
2021-05-11 19:09:19 +03: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-01 04:11:51 +03:00
|
|
|
homepage = "https://www.qownnotes.org/";
|
2021-03-20 00:50:59 +03:00
|
|
|
license = licenses.gpl2Only;
|
|
|
|
maintainers = with maintainers; [ dtzWill totoroot ];
|
2021-05-11 19:09:19 +03:00
|
|
|
platforms = platforms.linux;
|
2019-01-28 00:22:10 +03:00
|
|
|
};
|
|
|
|
}
|