2019-08-01 05:35:51 +00: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 05:35:51 +00:00
|
|
|
mkDerivation rec {
|
2019-01-27 21:22:10 +00:00
|
|
|
pname = "qownnotes";
|
2019-10-25 15:58:42 +00:00
|
|
|
version = "19.10.10";
|
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:
|
|
|
|
# $ curl https://download.tuxfamily.org/qownnotes/src/qownnotes-19.1.8.tar.xz.sha256
|
2019-10-25 15:58:42 +00:00
|
|
|
sha256 = "1zhszlrcmi8l96wq6hp48d8qv16jlyni02wf41dvh5r9ccfwlq42";
|
2019-01-27 21:22:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake qttools ];
|
|
|
|
buildInputs = [
|
|
|
|
qtbase qtsvg qtdeclarative qtxmlpatterns qtwebsockets
|
2019-08-01 05:35:51 +00:00
|
|
|
] ++ lib.optional stdenv.isLinux qtwayland;
|
2019-01-27 21:22:10 +00:00
|
|
|
|
2019-08-01 05:35:51 +00: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";
|
|
|
|
|
|
|
|
homepage = https://www.qownnotes.org/;
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
};
|
|
|
|
}
|