2021-03-19 21:50:59 +00:00
|
|
|
{ mkDerivation, lib, fetchurl, qmake, qttools, qtbase, qtsvg, qtdeclarative, qtxmlpatterns, qtwayland, qtwebsockets, stdenv, qtx11extras }:
|
2019-01-27 21:22:10 +00:00
|
|
|
|
2019-08-01 06:35:51 +01:00
|
|
|
mkDerivation rec {
|
2019-01-27 21:22:10 +00:00
|
|
|
pname = "qownnotes";
|
2021-03-19 21:50:59 +00:00
|
|
|
version = "21.3.2";
|
2019-01-27 21:22:10 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
|
|
|
|
# Can grab official version like so:
|
2021-03-19 21:50:59 +00:00
|
|
|
# $ curl https://download.tuxfamily.org/qownnotes/src/qownnotes-21.3.2.tar.xz.sha256
|
|
|
|
sha256 = "a8e8ab2ca1ef6684407adeb8fc63abcafff407a367471e053c583a1c4215e5ee";
|
2019-01-27 21:22:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake qttools ];
|
|
|
|
buildInputs = [
|
2021-03-19 21:50:59 +00:00
|
|
|
qtbase qtsvg qtdeclarative qtxmlpatterns qtwebsockets qtx11extras
|
2019-08-01 06:35:51 +01:00
|
|
|
] ++ lib.optional stdenv.isLinux qtwayland;
|
2019-01-27 21:22:10 +00:00
|
|
|
|
2019-08-01 06:35:51 +01:00
|
|
|
meta = with lib; {
|
2019-01-27 21:22:10 +00:00
|
|
|
description = "Plain-text file notepad and todo-list manager with markdown support and ownCloud / Nextcloud integration";
|
|
|
|
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.qownnotes.org/";
|
2019-01-27 21:22:10 +00:00
|
|
|
platforms = platforms.all;
|
2021-03-19 21:50:59 +00:00
|
|
|
license = licenses.gpl2Only;
|
|
|
|
maintainers = with maintainers; [ dtzWill totoroot ];
|
2019-01-27 21:22:10 +00:00
|
|
|
};
|
|
|
|
}
|