2020-06-15 15:56:04 +00:00
|
|
|
{ lib
|
2022-11-21 17:40:18 +00:00
|
|
|
, fetchFromGitLab
|
2020-06-15 15:56:04 +00:00
|
|
|
, mkDerivation
|
2021-04-05 15:23:46 +00:00
|
|
|
, cmake
|
|
|
|
, exempi
|
|
|
|
, extra-cmake-modules
|
2020-06-15 15:56:04 +00:00
|
|
|
, karchive
|
2021-04-05 15:23:46 +00:00
|
|
|
, kdoctools
|
2020-06-15 15:56:04 +00:00
|
|
|
, kfilemetadata
|
|
|
|
, khtml
|
2021-04-05 15:23:46 +00:00
|
|
|
, kitemmodels
|
2020-06-15 15:56:04 +00:00
|
|
|
, knewstuff
|
2021-04-05 15:23:46 +00:00
|
|
|
, kxmlgui
|
2020-06-15 15:56:04 +00:00
|
|
|
, libcdio
|
2021-04-05 15:23:46 +00:00
|
|
|
, libkcddb
|
|
|
|
, libksane
|
2020-06-15 15:56:04 +00:00
|
|
|
, makeWrapper
|
2021-04-05 15:23:46 +00:00
|
|
|
, poppler
|
|
|
|
, qtcharts
|
|
|
|
, qtwebengine
|
|
|
|
, solid
|
2020-10-16 20:44:37 +00:00
|
|
|
, taglib
|
2020-06-15 15:56:04 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
2021-04-05 15:23:46 +00:00
|
|
|
pname = "tellico";
|
2023-02-16 17:41:37 +00:00
|
|
|
version = "3.4.6";
|
2020-06-15 15:56:04 +00:00
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "invent.kde.org";
|
|
|
|
owner = "office";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-02-16 17:41:37 +00:00
|
|
|
hash = "sha256-aHA4DYuxh4vzXL82HRGMPfqS0DGqq/FLMEuhsr4eLko=";
|
2020-06-15 15:56:04 +00:00
|
|
|
};
|
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace src/gui/imagewidget.h \
|
|
|
|
--replace ksane_version.h KF5/ksane_version.h
|
|
|
|
'';
|
|
|
|
|
2020-06-15 15:56:04 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
|
|
|
kdoctools
|
|
|
|
makeWrapper
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2020-10-16 20:44:37 +00:00
|
|
|
exempi
|
2020-06-15 15:56:04 +00:00
|
|
|
karchive
|
|
|
|
kfilemetadata
|
|
|
|
khtml
|
2021-04-05 15:23:46 +00:00
|
|
|
kitemmodels
|
2020-06-15 15:56:04 +00:00
|
|
|
knewstuff
|
2020-10-16 20:44:37 +00:00
|
|
|
kxmlgui
|
2020-06-15 15:56:04 +00:00
|
|
|
libcdio
|
2021-04-05 15:23:46 +00:00
|
|
|
libkcddb
|
2020-10-16 20:44:37 +00:00
|
|
|
libksane
|
2020-06-15 15:56:04 +00:00
|
|
|
poppler
|
2021-04-05 15:23:46 +00:00
|
|
|
qtcharts
|
|
|
|
qtwebengine
|
2020-10-16 20:44:37 +00:00
|
|
|
solid
|
|
|
|
taglib
|
2020-06-15 15:56:04 +00:00
|
|
|
];
|
|
|
|
|
2020-10-16 20:44:37 +00:00
|
|
|
meta = with lib; {
|
2020-06-15 15:56:04 +00:00
|
|
|
description = "Collection management software, free and simple";
|
|
|
|
homepage = "https://tellico-project.org/";
|
2021-05-29 03:34:57 +00:00
|
|
|
license = with licenses; [ gpl2Only gpl3Only lgpl2Only ];
|
2020-10-16 20:44:37 +00:00
|
|
|
maintainers = with maintainers; [ numkem ];
|
|
|
|
platforms = platforms.linux;
|
2020-06-15 15:56:04 +00:00
|
|
|
};
|
|
|
|
}
|