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-11-27 09:42:12 +00:00
|
|
|
version = "22.11.7";
|
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-11-27 09:42:12 +00:00
|
|
|
sha256 = "2fbc20f17422bc44c35dd3e78feb710ca275ecb34c550b2a9c743939531f7878";
|
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; {
|
2022-10-30 15:09:59 +00:00
|
|
|
description = "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
|
|
|
};
|
|
|
|
}
|