2016-02-28 14:03:49 +01:00
|
|
|
{ stdenv, fetchurl, gettext }:
|
2016-02-05 19:14:08 +01:00
|
|
|
|
2016-02-01 01:27:33 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "m17n-db-1.7.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.savannah.gnu.org/releases/m17n/${name}.tar.gz";
|
|
|
|
sha256 = "1w08hnsbknrcjlzp42c99bgwc9hzsnf5m4apdv0dacql2s09zfm2";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gettext ];
|
|
|
|
|
2016-02-05 19:14:08 +01:00
|
|
|
configureFlags = stdenv.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 = {
|
|
|
|
homepage = http://www.nongnu.org/m17n/;
|
|
|
|
description = "Multilingual text processing library (database)";
|
|
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
|
|
|
|
};
|
|
|
|
}
|