2023-05-10 21:14:42 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, m17n_db
|
|
|
|
, autoreconfHook
|
|
|
|
, pkg-config
|
|
|
|
}:
|
2016-02-01 00:28:47 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-08-12 18:40:38 +00:00
|
|
|
pname = "m17n-lib";
|
2023-11-02 00:53:00 +00:00
|
|
|
version = "1.8.4";
|
2016-02-01 00:28:47 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-12 18:40:38 +00:00
|
|
|
url = "https://download.savannah.gnu.org/releases/m17n/m17n-lib-${version}.tar.gz";
|
2023-11-02 00:53:00 +00:00
|
|
|
hash = "sha256-xqJYLG5PKowueihE+lx+s2Oq0lOLBS8gPHEGSd1CHMg=";
|
2016-02-01 00:28:47 +00:00
|
|
|
};
|
|
|
|
|
2021-10-21 22:47:09 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
# reconf needed to sucesfully cross-compile
|
2021-12-03 11:22:31 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook pkg-config
|
|
|
|
# requires m17n-db tool at build time
|
|
|
|
m17n_db
|
|
|
|
];
|
2016-02-01 00:28:47 +00:00
|
|
|
|
2022-09-16 21:36:06 +00:00
|
|
|
enableParallelBuilding = true;
|
2021-10-24 20:03:33 +00:00
|
|
|
|
2016-02-01 00:28:47 +00:00
|
|
|
meta = {
|
2020-04-01 01:11:51 +00: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
|
|
|
};
|
|
|
|
}
|