tellico: 3.4.1 -> 3.4.4

+13 -9
+13 -9
pkgs/applications/misc/tellico/default.nix
··· 1 1 { lib 2 - , fetchurl 2 + , fetchFromGitLab 3 3 , mkDerivation 4 4 , cmake 5 5 , exempi ··· 24 24 25 25 mkDerivation rec { 26 26 pname = "tellico"; 27 - version = "3.4.1"; 27 + version = "3.4.4"; 28 28 29 - src = fetchurl { 30 - # version 3.3.0 just uses 3.3 in its file name 31 - urls = [ 32 - "https://tellico-project.org/files/tellico-${version}.tar.xz" 33 - "https://tellico-project.org/files/tellico-${lib.versions.majorMinor version}.tar.xz" 34 - ]; 35 - sha256 = "sha256-+FFN6sO0mvlage8JazyrqNZk4onejz1XJPiOK3gnhWE="; 29 + src = fetchFromGitLab { 30 + domain = "invent.kde.org"; 31 + owner = "office"; 32 + repo = pname; 33 + rev = "v${version}"; 34 + hash = "sha256-Qgan0mnDTQx+KKCAnRpgi9CCbXIRBMQtAyH/Mr20VSw="; 36 35 }; 36 + 37 + postPatch = '' 38 + substituteInPlace src/gui/imagewidget.h \ 39 + --replace ksane_version.h KF5/ksane_version.h 40 + ''; 37 41 38 42 nativeBuildInputs = [ 39 43 cmake