mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 13:24:29 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
26 lines
781 B
Nix
26 lines
781 B
Nix
{ lib, stdenv, fetchurl, perl, zlib }:
|
|
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";
|
|
};
|
|
|
|
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 = with maintainers; [ gebner ];
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|