depot/third_party/nixpkgs/pkgs/tools/inputmethods/m17n-db/default.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

29 lines
907 B
Nix

{ lib, stdenv, fetchurl, gettext, gawk, bash }:
stdenv.mkDerivation rec {
pname = "m17n-db";
version = "1.8.7";
src = fetchurl {
url = "https://download.savannah.gnu.org/releases/m17n/m17n-db-${version}.tar.gz";
sha256 = "sha256-4Zuw4nr5+yPFLq8OnIJ7tzv87O7J/qsDjmPUvKibmwg=";
};
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)";
mainProgram = "m17n-db";
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 ];
};
}