2020-10-26 21:46:21 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
|
|
|
, autoreconfHook
|
|
|
|
, glib
|
|
|
|
, libticonv
|
|
|
|
, libtifiles2
|
|
|
|
, libticables2
|
2021-03-14 18:12:53 +00:00
|
|
|
, xz
|
2020-10-26 21:46:21 +00:00
|
|
|
, 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
|
2021-03-14 18:12:53 +00:00
|
|
|
xz
|
2020-10-26 21:46:21 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|