mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
31 lines
1.2 KiB
Nix
31 lines
1.2 KiB
Nix
{ mkDerivation, lib, stdenv, fetchurl
|
|
, qmake, qttools, qtbase, qtsvg, qtdeclarative, qtxmlpatterns, qtwebsockets
|
|
, qtx11extras, qtwayland
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "qownnotes";
|
|
version = "22.1.7";
|
|
|
|
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 = "7ac13816e47e23e8469f47b6d48a29f7e98416de0fa9ef77eb3da63b191829f3";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|