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

71 lines
1.2 KiB
Nix
Raw Normal View History

{ lib
, fetchurl
, mkDerivation
2021-04-03 13:00:29 +01:00
, cmake
, exempi
, extra-cmake-modules
, karchive
2021-04-03 13:00:29 +01:00
, kdoctools
, kfilemetadata
, khtml
2021-04-03 13:00:29 +01:00
, kitemmodels
, knewstuff
2021-04-03 13:00:29 +01:00
, kxmlgui
, libcdio
2021-04-03 13:00:29 +01:00
, libkcddb
, libksane
, makeWrapper
2021-04-03 13:00:29 +01:00
, poppler
, qtcharts
, qtwebengine
, solid
2020-10-12 04:59:13 +01:00
, taglib
}:
mkDerivation rec {
2021-04-03 13:00:29 +01:00
pname = "tellico";
version = "3.4";
src = fetchurl {
2020-10-12 04:59:13 +01:00
# version 3.3.0 just uses 3.3 in its name
urls = [
"https://tellico-project.org/files/tellico-${version}.tar.xz"
"https://tellico-project.org/files/tellico-${lib.versions.majorMinor version}.tar.xz"
];
2021-04-03 13:00:29 +01:00
sha256 = "sha256-YXMJrAkfehe3ox4WZ19igyFbXwtjO5wxN3bmgP01jPs=";
};
nativeBuildInputs = [
cmake
extra-cmake-modules
kdoctools
makeWrapper
];
buildInputs = [
2020-10-12 04:59:13 +01:00
exempi
karchive
kfilemetadata
khtml
2021-04-03 13:00:29 +01:00
kitemmodels
knewstuff
2020-10-12 04:59:13 +01:00
kxmlgui
libcdio
2021-04-03 13:00:29 +01:00
libkcddb
2020-10-12 04:59:13 +01:00
libksane
poppler
2021-04-03 13:00:29 +01:00
qtcharts
qtwebengine
2020-10-12 04:59:13 +01:00
solid
taglib
];
2020-10-12 04:59:13 +01:00
meta = with lib; {
description = "Collection management software, free and simple";
homepage = "https://tellico-project.org/";
2020-10-12 04:59:13 +01:00
license = with licenses; [ gpl2 gpl3 ];
maintainers = with maintainers; [ numkem ];
platforms = platforms.linux;
};
}