2021-10-21 23:47:09 +01:00
|
|
|
{ lib, stdenv, fetchurl, m17n_db, autoreconfHook, pkg-config }:
|
2016-02-01 00:28:47 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-08-12 19:40:38 +01:00
|
|
|
pname = "m17n-lib";
|
|
|
|
version = "1.8.0";
|
2016-02-01 00:28:47 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-12 19:40:38 +01:00
|
|
|
url = "https://download.savannah.gnu.org/releases/m17n/m17n-lib-${version}.tar.gz";
|
2018-03-21 00:08:38 +00:00
|
|
|
sha256 = "0jp61y09xqj10mclpip48qlfhniw8gwy8b28cbzxy8hq8pkwmfkq";
|
2016-02-01 00:28:47 +00:00
|
|
|
};
|
|
|
|
|
2021-10-21 23:47:09 +01:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
# reconf needed to sucesfully cross-compile
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
|
2016-02-01 00:28:47 +00:00
|
|
|
buildInputs = [ m17n_db ];
|
|
|
|
|
2021-10-24 21:03:33 +01:00
|
|
|
# Fails parallel build due to missing intra-package depends:
|
|
|
|
# https://savannah.nongnu.org/bugs/index.php?61377
|
|
|
|
# make[2]: *** No rule to make target '../src/libm17n-core.la', needed by 'libm17n.la'. Stop.
|
|
|
|
enableParallelBuilding = false;
|
|
|
|
|
2016-02-01 00:28:47 +00:00
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.nongnu.org/m17n/";
|
2016-02-01 00:28:47 +00:00
|
|
|
description = "Multilingual text processing library (runtime)";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ astsmtl ];
|
2016-02-01 00:28:47 +00:00
|
|
|
};
|
|
|
|
}
|