tellico: 3.4.1 -> 3.4.4

This commit is contained in:
Peter Hoeg
2022-11-15 10:10:34 +08:00
parent 032b5c19b0
commit afd99c0752
+13 -9
View File
@@ -1,5 +1,5 @@
{ lib
, fetchurl
, fetchFromGitLab
, mkDerivation
, cmake
, exempi
@@ -24,17 +24,21 @@
mkDerivation rec {
pname = "tellico";
version = "3.4.1";
version = "3.4.4";
src = fetchurl {
# version 3.3.0 just uses 3.3 in its file name
urls = [
"https://tellico-project.org/files/tellico-${version}.tar.xz"
"https://tellico-project.org/files/tellico-${lib.versions.majorMinor version}.tar.xz"
];
sha256 = "sha256-+FFN6sO0mvlage8JazyrqNZk4onejz1XJPiOK3gnhWE=";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "office";
repo = pname;
rev = "v${version}";
hash = "sha256-Qgan0mnDTQx+KKCAnRpgi9CCbXIRBMQtAyH/Mr20VSw=";
};
postPatch = ''
substituteInPlace src/gui/imagewidget.h \
--replace ksane_version.h KF5/ksane_version.h
'';
nativeBuildInputs = [
cmake
extra-cmake-modules