889482aab3
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
30 lines
1.2 KiB
Nix
30 lines
1.2 KiB
Nix
{ mkDerivation, lib, stdenv, fetchurl
|
|
, qmake, qttools, qtbase, qtsvg, qtdeclarative, qtxmlpatterns, qtwebsockets
|
|
, qtx11extras, qtwayland
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "qownnotes";
|
|
version = "22.6.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
|
|
# Fetch the checksum of current version with curl:
|
|
# curl https://download.tuxfamily.org/qownnotes/src/qownnotes-<version>.tar.xz.sha256
|
|
sha256 = "c5b2075d42298d28f901ad2df8eb65f5a61aa59727fae9eeb1f92dac1b63d8ba";
|
|
};
|
|
|
|
nativeBuildInputs = [ qmake qttools ];
|
|
|
|
buildInputs = [ qtbase qtsvg qtdeclarative qtxmlpatterns qtwebsockets qtx11extras ]
|
|
++ lib.optionals stdenv.isLinux [ qtwayland ];
|
|
|
|
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/";
|
|
license = licenses.gpl2Only;
|
|
maintainers = with maintainers; [ dtzWill totoroot ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|