nixpkgs/pkgs/tools/inputmethods/m17n-db/default.nix

29 lines
775 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, gettext, gawk, bash }:
stdenv.mkDerivation rec {
pname = "m17n-db";
version = "1.8.0";
src = fetchurl {
url = "https://download.savannah.gnu.org/releases/m17n/m17n-db-${version}.tar.gz";
sha256 = "0vfw7z9i2s9np6nmx1d4dlsywm044rkaqarn7akffmb6bf1j6zv5";
};
nativeBuildInputs = [ gettext ];
buildInputs = [ gettext gawk bash ];
strictDeps = true;
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"
;
meta = {
homepage = "https://www.nongnu.org/m17n/";
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 ];
};
}