2019-08-01 06:35:51 +01:00
|
|
|
{ mkDerivation, lib, fetchurl, qmake, qttools, qtbase, qtsvg, qtdeclarative, qtxmlpatterns, qtwayland, qtwebsockets, stdenv /* for isLinux */ }:
|
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";
|
2020-02-17 05:23:54 +00:00
|
|
|
version = "20.2.5";
|
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:
|
2020-02-17 05:23:54 +00:00
|
|
|
# $ curl https://download.tuxfamily.org/qownnotes/src/qownnotes-20.2.5.tar.xz.sha256
|
|
|
|
sha256 = "c26d2a86a521cd243ec0a4788e7627e91cb5877dace73d93dd7d35dd02e9e4c5";
|
2019-01-27 21:22:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake qttools ];
|
|
|
|
buildInputs = [
|
|
|
|
qtbase qtsvg qtdeclarative qtxmlpatterns qtwebsockets
|
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;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
};
|
|
|
|
}
|