1 { lib, stdenv, fetchurl, fetchpatch, m17n_db, autoreconfHook, pkg-config }:
2 stdenv.mkDerivation rec {
7 url = "https://download.savannah.gnu.org/releases/m17n/m17n-lib-${version}.tar.gz";
8 sha256 = "0jp61y09xqj10mclpip48qlfhniw8gwy8b28cbzxy8hq8pkwmfkq";
13 # Patch pending upstream inclusion:
14 # https://savannah.nongnu.org/bugs/index.php?61377
15 name = "parallel-build.patch";
16 url = "https://savannah.nongnu.org/bugs/download.php?file_id=53704";
17 hash = "sha256-1smKSIFVRJZSwCv0NiUsnndxKcPnJ/wqzH8+ka6nfNM=";
18 excludes = [ "src/ChangeLog" ];
24 # reconf needed to sucesfully cross-compile
26 autoreconfHook pkg-config
27 # requires m17n-db tool at build time
31 enableParallelBuilding = true;
34 homepage = "https://www.nongnu.org/m17n/";
35 description = "Multilingual text processing library (runtime)";
36 license = lib.licenses.lgpl21Plus;
37 platforms = lib.platforms.linux;
38 maintainers = with lib.maintainers; [ astsmtl ];