2021-10-28 06:52:43 +00:00
|
|
|
{ lib, stdenv, fetchurl, gettext, gawk, bash }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-18 13:19:15 +00:00
|
|
|
pname = "m17n-db";
|
|
|
|
version = "1.8.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-18 13:19:15 +00:00
|
|
|
url = "https://download.savannah.gnu.org/releases/m17n/m17n-db-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "0vfw7z9i2s9np6nmx1d4dlsywm044rkaqarn7akffmb6bf1j6zv5";
|
|
|
|
};
|
|
|
|
|
2021-10-28 06:52:43 +00:00
|
|
|
nativeBuildInputs = [ gettext ];
|
|
|
|
buildInputs = [ gettext gawk bash ];
|
|
|
|
|
|
|
|
strictDeps = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
configureFlags = lib.optional (stdenv ? glibc)
|
2020-04-24 23:36:52 +00:00
|
|
|
"--with-charmaps=${stdenv.glibc.out}/share/i18n/charmaps"
|
|
|
|
;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://www.nongnu.org/m17n/";
|
|
|
|
description = "Multilingual text processing library (database)";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ astsmtl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|