01ed8ef136
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
29 lines
1 KiB
Nix
29 lines
1 KiB
Nix
{ mkDerivation, lib, stdenv, fetchurl
|
|
, qmake, qttools, qtbase, qtsvg, qtdeclarative, qtxmlpatterns, qtwebsockets
|
|
, qtx11extras, qtwayland
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "qownnotes";
|
|
version = "22.11.5";
|
|
|
|
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 = "451c7bed728710d1ff7ddc5bcc5a32b829dfac3ed2bbfdb6f7c2c328e6676a8c";
|
|
};
|
|
|
|
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";
|
|
homepage = "https://www.qownnotes.org/";
|
|
license = licenses.gpl2Only;
|
|
maintainers = with maintainers; [ totoroot ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|