Files
nixpkgs/pkgs/by-name/li/libeb/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

41 lines
1.0 KiB
Nix

{
lib,
stdenv,
fetchurl,
perl,
zlib,
fetchpatch,
}:
stdenv.mkDerivation rec {
pname = "libeb";
version = "4.4.3";
src = fetchurl {
url = "ftp://ftp.sra.co.jp/pub/misc/eb/eb-${version}.tar.bz2";
sha256 = "0psbdzirazfnn02hp3gsx7xxss9f1brv4ywp6a15ihvggjki1rxb";
};
patches = [
(fetchpatch {
name = "gcc-14.patch";
url = "https://salsa.debian.org/debian/eb/-/raw/50c84ee2d190083fc88a14e62ef9fef779d088de/debian/patches/0002-gcc14-fix.patch";
hash = "sha256-0hht7ojj4MLNfFbemDR2hD1PbSmBxrC2JtDl2WJINlM=";
})
];
nativeBuildInputs = [ perl ];
buildInputs = [ zlib ];
meta = with lib; {
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.
'';
license = licenses.bsd3;
maintainers = [ ];
platforms = with platforms; unix;
};
}