Commit afd99c07 authored by Peter Hoeg's avatar Peter Hoeg
Browse files

tellico: 3.4.1 -> 3.4.4

parent 032b5c19
Loading
Loading
Loading
Loading
+13 −9
Original line number Diff line number Diff line
{ 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