nixpkgs/pkgs/applications/misc/tellico/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

75 lines
1.2 KiB
Nix
Raw Normal View History

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