mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
29 lines
878 B
Nix
29 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 ];
|
|
};
|
|
}
|