1 { lib, stdenv, fetchurl, gettext, gawk, bash }:
3 stdenv.mkDerivation rec {
8 url = "https://download.savannah.gnu.org/releases/m17n/m17n-db-${version}.tar.gz";
9 sha256 = "sha256-4Zuw4nr5+yPFLq8OnIJ7tzv87O7J/qsDjmPUvKibmwg=";
12 nativeBuildInputs = [ gettext ];
13 buildInputs = [ gettext gawk bash ];
17 configureFlags = [ "--with-charmaps=${stdenv.cc.libc}/share/i18n/charmaps" ]
21 homepage = "https://www.nongnu.org/m17n/";
22 description = "Multilingual text processing library (database)";
23 mainProgram = "m17n-db";
24 changelog = "https://git.savannah.nongnu.org/cgit/m17n/m17n-db.git/plain/NEWS?h=REL-${lib.replaceStrings [ "." ] [ "-" ] version}";
25 license = lib.licenses.lgpl21Plus;
26 platforms = lib.platforms.linux;
27 maintainers = with lib.maintainers; [ astsmtl ];