2016-02-28 13:03:49 +00:00
|
|
|
{ stdenv, fetchurl, gettext }:
|
2016-02-05 18:14:08 +00:00
|
|
|
|
2016-02-01 00:27:33 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-20 23:54:57 +00:00
|
|
|
name = "m17n-db-1.8.0";
|
2016-02-01 00:27:33 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-12-01 17:07:00 +00:00
|
|
|
url = "https://download.savannah.gnu.org/releases/m17n/${name}.tar.gz";
|
2018-03-20 23:54:57 +00:00
|
|
|
sha256 = "0vfw7z9i2s9np6nmx1d4dlsywm044rkaqarn7akffmb6bf1j6zv5";
|
2016-02-01 00:27:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gettext ];
|
|
|
|
|
2016-02-05 18:14:08 +00:00
|
|
|
configureFlags = stdenv.lib.optional (stdenv ? glibc)
|
2016-02-28 13:03:49 +00:00
|
|
|
"--with-charmaps=${stdenv.glibc.out}/share/i18n/charmaps"
|
2016-02-05 18:14:08 +00:00
|
|
|
;
|
2016-02-01 00:27:33 +00:00
|
|
|
|
|
|
|
meta = {
|
2018-12-01 17:32:32 +00:00
|
|
|
homepage = https://www.nongnu.org/m17n/;
|
2016-02-01 00:27:33 +00:00
|
|
|
description = "Multilingual text processing library (database)";
|
|
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
|
|
|
|
};
|
|
|
|
}
|