nixpkgs/pkgs/applications/office/qownnotes/default.nix
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00

28 lines
974 B
Nix

{ stdenv, fetchurl, qmake, qttools, qtbase, qtsvg, qtdeclarative, qtxmlpatterns, qtwayland, qtwebsockets }:
stdenv.mkDerivation rec {
pname = "qownnotes";
version = "19.5.7";
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 = "0dpzv1ww7a7bymgv1ljka5i0zaa1m4zii5ckl390vfpihqy766z3";
};
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 ];
};
}