about summary refs log tree commit diff
path: root/pkgs/development/libraries/libticalcs2/default.nix
blob: 2488a5bbb0b4a223e031e270c3a3ae8b7f584cfb (plain) (blame)
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
{ stdenv
, lib
, fetchurl
, pkg-config
, autoreconfHook
, glib
, libticonv
, libtifiles2
, libticables2
, xz
, bzip2
, acl
, libobjc
}:

stdenv.mkDerivation rec {
  pname = "libticalcs2";
  version = "1.1.9";
  src = fetchurl {
    url = "mirror://sourceforge/tilp/${pname}-${version}.tar.bz2";
    sha256 = "08c9wgrdnyqcs45mx1bjb8riqq81bzfkhgaijxzn96rhpj40fy3n";
  };

  nativeBuildInputs = [
    autoreconfHook
    pkg-config
  ];

  buildInputs = [
    glib
    libticonv
    libtifiles2
    libticables2
    xz
    bzip2
  ] ++ lib.optionals stdenv.isLinux [
    acl
  ] ++ lib.optionals stdenv.isDarwin [
    libobjc
  ];

  meta = with lib; {
    changelog = "http://lpg.ticalc.org/prj_tilp/news.html";
    description = "This library is part of the TiLP framework";
    homepage = "http://lpg.ticalc.org/prj_tilp/";
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ siraben luc65r ];
    platforms = with platforms; linux ++ darwin;
  };
}