a6b64a828d
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/qownnotes/versions
27 lines
993 B
Nix
27 lines
993 B
Nix
{ mkDerivation, lib, fetchurl, qmake, qttools, qtbase, qtsvg, qtdeclarative, qtxmlpatterns, qtwayland, qtwebsockets, stdenv /* for isLinux */ }:
|
|
|
|
mkDerivation rec {
|
|
pname = "qownnotes";
|
|
version = "19.10.10";
|
|
|
|
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 = "1zhszlrcmi8l96wq6hp48d8qv16jlyni02wf41dvh5r9ccfwlq42";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|