lol
1{ lib, stdenv, fetchurl, m17n_db, autoreconfHook, pkg-config }:
2stdenv.mkDerivation rec {
3 pname = "m17n-lib";
4 version = "1.8.0";
5
6 src = fetchurl {
7 url = "https://download.savannah.gnu.org/releases/m17n/m17n-lib-${version}.tar.gz";
8 sha256 = "0jp61y09xqj10mclpip48qlfhniw8gwy8b28cbzxy8hq8pkwmfkq";
9 };
10
11 strictDeps = true;
12
13 # reconf needed to sucesfully cross-compile
14 nativeBuildInputs = [ autoreconfHook pkg-config ];
15
16 buildInputs = [ m17n_db ];
17
18 # Fails parallel build due to missing intra-package depends:
19 # https://savannah.nongnu.org/bugs/index.php?61377
20 # make[2]: *** No rule to make target '../src/libm17n-core.la', needed by 'libm17n.la'. Stop.
21 enableParallelBuilding = false;
22
23 meta = {
24 homepage = "https://www.nongnu.org/m17n/";
25 description = "Multilingual text processing library (runtime)";
26 license = lib.licenses.lgpl21Plus;
27 platforms = lib.platforms.linux;
28 maintainers = with lib.maintainers; [ astsmtl ];
29 };
30}