2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, perl, zlib }:
|
2015-09-23 18:06:06 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libeb";
|
2015-09-23 18:06:06 +01:00
|
|
|
version = "4.4.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.sra.co.jp/pub/misc/eb/eb-${version}.tar.bz2";
|
|
|
|
sha256 = "0psbdzirazfnn02hp3gsx7xxss9f1brv4ywp6a15ihvggjki1rxb";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ perl ];
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2015-09-23 18:06:06 +01:00
|
|
|
description = "C library for accessing Japanese CD-ROM books";
|
|
|
|
longDescription = ''
|
|
|
|
The EB library is a library for accessing CD-ROM books, which are a
|
|
|
|
common way to distribute electronic dictionaries in Japan. It supports
|
|
|
|
the EB, EBG, EBXA, EBXA-C, S-EBXA and EPWING formats.
|
|
|
|
'';
|
2015-10-10 10:11:56 +01:00
|
|
|
license = licenses.bsd3;
|
2015-09-23 18:06:06 +01:00
|
|
|
maintainers = with maintainers; [ gebner ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = with platforms; unix;
|
2015-09-23 18:06:06 +01:00
|
|
|
};
|
|
|
|
}
|