mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
75 lines
1.2 KiB
Nix
75 lines
1.2 KiB
Nix
{ lib
|
|
, fetchFromGitLab
|
|
, mkDerivation
|
|
, cmake
|
|
, exempi
|
|
, extra-cmake-modules
|
|
, karchive
|
|
, kdoctools
|
|
, kfilemetadata
|
|
, khtml
|
|
, kitemmodels
|
|
, knewstuff
|
|
, kxmlgui
|
|
, libcdio
|
|
, libkcddb
|
|
, libksane
|
|
, makeWrapper
|
|
, poppler
|
|
, qtcharts
|
|
, qtwebengine
|
|
, solid
|
|
, taglib
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "tellico";
|
|
version = "3.4.6";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "invent.kde.org";
|
|
owner = "office";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-aHA4DYuxh4vzXL82HRGMPfqS0DGqq/FLMEuhsr4eLko=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace src/gui/imagewidget.h \
|
|
--replace ksane_version.h KF5/ksane_version.h
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
extra-cmake-modules
|
|
kdoctools
|
|
makeWrapper
|
|
];
|
|
|
|
buildInputs = [
|
|
exempi
|
|
karchive
|
|
kfilemetadata
|
|
khtml
|
|
kitemmodels
|
|
knewstuff
|
|
kxmlgui
|
|
libcdio
|
|
libkcddb
|
|
libksane
|
|
poppler
|
|
qtcharts
|
|
qtwebengine
|
|
solid
|
|
taglib
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Collection management software, free and simple";
|
|
homepage = "https://tellico-project.org/";
|
|
license = with licenses; [ gpl2Only gpl3Only lgpl2Only ];
|
|
maintainers = with maintainers; [ numkem ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|