qownnotes: 20.2.5 -> 21.3.2

This commit is contained in:
Matthias Thym 2021-03-19 22:50:59 +01:00
parent a839c811a5
commit cb2df0773c

View File

@ -1,19 +1,19 @@
{ mkDerivation, lib, fetchurl, qmake, qttools, qtbase, qtsvg, qtdeclarative, qtxmlpatterns, qtwayland, qtwebsockets, stdenv /* for isLinux */ }: { mkDerivation, lib, fetchurl, qmake, qttools, qtbase, qtsvg, qtdeclarative, qtxmlpatterns, qtwayland, qtwebsockets, stdenv, qtx11extras }:
mkDerivation rec { mkDerivation rec {
pname = "qownnotes"; pname = "qownnotes";
version = "20.2.5"; version = "21.3.2";
src = fetchurl { src = fetchurl {
url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz"; url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
# Can grab official version like so: # Can grab official version like so:
# $ curl https://download.tuxfamily.org/qownnotes/src/qownnotes-20.2.5.tar.xz.sha256 # $ curl https://download.tuxfamily.org/qownnotes/src/qownnotes-21.3.2.tar.xz.sha256
sha256 = "c26d2a86a521cd243ec0a4788e7627e91cb5877dace73d93dd7d35dd02e9e4c5"; sha256 = "a8e8ab2ca1ef6684407adeb8fc63abcafff407a367471e053c583a1c4215e5ee";
}; };
nativeBuildInputs = [ qmake qttools ]; nativeBuildInputs = [ qmake qttools ];
buildInputs = [ buildInputs = [
qtbase qtsvg qtdeclarative qtxmlpatterns qtwebsockets qtbase qtsvg qtdeclarative qtxmlpatterns qtwebsockets qtx11extras
] ++ lib.optional stdenv.isLinux qtwayland; ] ++ lib.optional stdenv.isLinux qtwayland;
meta = with lib; { meta = with lib; {
@ -21,7 +21,7 @@ mkDerivation rec {
homepage = "https://www.qownnotes.org/"; homepage = "https://www.qownnotes.org/";
platforms = platforms.all; platforms = platforms.all;
license = licenses.gpl2; license = licenses.gpl2Only;
maintainers = with maintainers; [ dtzWill ]; maintainers = with maintainers; [ dtzWill totoroot ];
}; };
} }