nixpkgs-suyu/pkgs/tools/inputmethods/m17n-db/default.nix
2023-05-20 04:20:00 +00:00

28 lines
878 B
Nix

{ lib, stdenv, fetchurl, gettext, gawk, bash }:
stdenv.mkDerivation rec {
pname = "m17n-db";
version = "1.8.2";
src = fetchurl {
url = "https://download.savannah.gnu.org/releases/m17n/m17n-db-${version}.tar.gz";
sha256 = "sha256-vHR+J9ct9YoH9DG3JdeuQJIyLbxGEUykBTgoIbK6XGk=";
};
nativeBuildInputs = [ gettext ];
buildInputs = [ gettext gawk bash ];
strictDeps = true;
configureFlags = [ "--with-charmaps=${stdenv.cc.libc}/share/i18n/charmaps" ]
;
meta = {
homepage = "https://www.nongnu.org/m17n/";
description = "Multilingual text processing library (database)";
changelog = "https://git.savannah.nongnu.org/cgit/m17n/m17n-db.git/plain/NEWS?h=REL-${lib.replaceStrings [ "." ] [ "-" ] version}";
license = lib.licenses.lgpl21Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ astsmtl ];
};
}