3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/office/qownnotes/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
1.2 KiB
Nix
Raw Normal View History

{ mkDerivation, lib, stdenv, fetchurl
, qmake, qttools, qtbase, qtsvg, qtdeclarative, qtxmlpatterns, qtwebsockets
, qtx11extras, qtwayland
}:
2019-01-27 21:22:10 +00:00
mkDerivation rec {
2019-01-27 21:22:10 +00:00
pname = "qownnotes";
2022-03-08 08:46:34 +00:00
version = "22.3.1";
2019-01-27 21:22:10 +00:00
src = fetchurl {
url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
2021-05-11 17:09:19 +01:00
# Fetch the checksum of current version with curl:
# curl https://download.tuxfamily.org/qownnotes/src/qownnotes-<version>.tar.xz.sha256
2022-03-08 08:46:34 +00:00
sha256 = "4d75684751a10f24d20d993b30748c7a09bd8bdfd4e1d4d5703746954a0f6bb2";
2019-01-27 21:22:10 +00:00
};
nativeBuildInputs = [ qmake qttools ];
2021-05-11 17:09:19 +01:00
buildInputs = [ qtbase qtsvg qtdeclarative qtxmlpatterns qtwebsockets qtx11extras ]
++ lib.optionals stdenv.isLinux [ qtwayland ];
2019-01-27 21:22:10 +00:00
2021-05-11 17:09:19 +01:00
meta = with lib; {
description = "Plain-text file notepad and todo-list manager with markdown support and Nextcloud/ownCloud integration.";
longDescription = "QOwnNotes is a plain-text file notepad and todo-list manager with markdown support and Nextcloud/ownCloud integration.";
homepage = "https://www.qownnotes.org/";
2021-03-19 21:50:59 +00:00
license = licenses.gpl2Only;
maintainers = with maintainers; [ dtzWill totoroot ];
2021-05-11 17:09:19 +01:00
platforms = platforms.linux;
2019-01-27 21:22:10 +00:00
};
}