aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/misc/tellico/default.nix
blob: 401f1f1d7188485691071c15aad286e088e0686e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{ lib
, fetchurl
, mkDerivation
, kdeApplications
, kinit
, kdelibs4support
, solid
, kxmlgui
, karchive
, kfilemetadata
, khtml
, knewstuff
, libksane
, cmake
, exempi
, extra-cmake-modules
, libcdio
, poppler
, makeWrapper
, kdoctools
}:

mkDerivation rec {
  name = "tellico";
  version = "3.3.0";

  src = fetchurl {
    url = "https://tellico-project.org/files/tellico-${lib.versions.majorMinor version}.tar.xz";
    sha256 = "1digkpvzrsbv5znf1cgzs6zkmysfz6lzs12n12mrrpgkcdxc426y";
  };

  patches = [
    ./hex.patch
  ];

  nativeBuildInputs = [
    cmake
    extra-cmake-modules
    kdoctools
    makeWrapper
  ];

  buildInputs = [
    kdelibs4support
    solid
    kxmlgui
    karchive
    kfilemetadata
    khtml
    knewstuff
    libksane
    cmake
    exempi
    extra-cmake-modules
    libcdio
    kdeApplications.libkcddb
    poppler
  ];

  meta = {
    description = "Collection management software, free and simple";
    homepage = "https://tellico-project.org/";
    maintainers = with lib.maintainers; [ numkem ];
    license = with lib.licenses; [ gpl2 gpl3 ];
    platforms = lib.platforms.linux;
  };
}