2021-10-21 21:53:01 +02:00
|
|
|
{ lib, stdenv, fetchurl, gettext, gawk, bash }:
|
2016-02-05 19:14:08 +01:00
|
|
|
|
2016-02-01 01:27:33 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2021-08-12 20:40:38 +02:00
|
|
|
pname = "m17n-db";
|
|
|
|
version = "1.8.0";
|
2016-02-01 01:27:33 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-12 20:40:38 +02:00
|
|
|
url = "https://download.savannah.gnu.org/releases/m17n/m17n-db-${version}.tar.gz";
|
2018-03-21 00:54:57 +01:00
|
|
|
sha256 = "0vfw7z9i2s9np6nmx1d4dlsywm044rkaqarn7akffmb6bf1j6zv5";
|
2016-02-01 01:27:33 +01:00
|
|
|
};
|
|
|
|
|
2021-10-21 21:53:01 +02:00
|
|
|
nativeBuildInputs = [ gettext ];
|
|
|
|
buildInputs = [ gettext gawk bash ];
|
|
|
|
|
|
|
|
strictDeps = true;
|
2016-02-01 01:27:33 +01:00
|
|
|
|
2021-01-15 10:19:50 +01:00
|
|
|
configureFlags = lib.optional (stdenv ? glibc)
|
2016-02-28 14:03:49 +01:00
|
|
|
"--with-charmaps=${stdenv.glibc.out}/share/i18n/charmaps"
|
2016-02-05 19:14:08 +01:00
|
|
|
;
|
2016-02-01 01:27:33 +01:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.nongnu.org/m17n/";
|
2016-02-01 01:27:33 +01:00
|
|
|
description = "Multilingual text processing library (database)";
|
2021-01-15 10:19:50 +01:00
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ astsmtl ];
|
2016-02-01 01:27:33 +01:00
|
|
|
};
|
|
|
|
}
|