27 lines
1,002 B
Nix
27 lines
1,002 B
Nix
{ stdenv, fetchurl, qmake, qttools, qtbase, qtsvg, qttranslations, qtdeclarative, qtxmlpatterns, qtwayland, qtwebsockets }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "qownnotes";
|
|
version = "19.4.1";
|
|
|
|
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
|
|
sha256 = "c0232dda44591033c2ed29ce0a52ba3539b2f2180d1862a18dd4f677063896cb";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|