2019-06-16 21:59:06 +02:00
|
|
|
{ stdenv, fetchurl, qmake, qttools, qtbase, qtsvg, qtdeclarative, qtxmlpatterns, qtwayland, qtwebsockets }:
|
2019-01-27 22:22:10 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "qownnotes";
|
2019-06-18 05:39:41 +02:00
|
|
|
version = "19.6.1";
|
2019-01-27 22:22:10 +01: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-06-18 05:39:41 +02:00
|
|
|
sha256 = "0m56klcs1bq5xhbn2kmlzv8nalscxw6wimrmqjmharif97cyddc6";
|
2019-01-27 22:22:10 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake qttools ];
|
|
|
|
buildInputs = [
|
|
|
|
qtbase qtsvg qtdeclarative qtxmlpatterns qtwebsockets
|
|
|
|
] ++ stdenv.lib.optional stdenv.isLinux qtwayland;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|