3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/office/qownnotes/default.nix
2019-11-17 08:04:57 -06:00

28 lines
1,005 B
Nix

{ mkDerivation, lib, fetchurl, qmake, qttools, qtbase, qtsvg, qtdeclarative, qtxmlpatterns, qtwayland, qtwebsockets, stdenv /* for isLinux */ }:
mkDerivation rec {
pname = "qownnotes";
version = "19.11.14";
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 = "8faa67720443fc9a116feae3e7d641922a08814b9af4d973d348ff8a0ee0e35d";
};
nativeBuildInputs = [ qmake qttools ];
buildInputs = [
qtbase qtsvg qtdeclarative qtxmlpatterns qtwebsockets
] ++ lib.optional stdenv.isLinux qtwayland;
meta = with 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 ];
};
}