2022-05-10 21:52:26 +00:00
|
|
|
{ lib, stdenv, fetchurl, gettext, gawk, bash }:
|
2016-02-05 18:14:08 +00:00
|
|
|
|
2016-02-01 00:27:33 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-08-12 18:40:38 +00:00
|
|
|
pname = "m17n-db";
|
2023-05-12 01:39:35 +00:00
|
|
|
version = "1.8.2";
|
2016-02-01 00:27:33 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-12 18:40:38 +00:00
|
|
|
url = "https://download.savannah.gnu.org/releases/m17n/m17n-db-${version}.tar.gz";
|
2023-05-12 01:39:35 +00:00
|
|
|
sha256 = "sha256-vHR+J9ct9YoH9DG3JdeuQJIyLbxGEUykBTgoIbK6XGk=";
|
2016-02-01 00:27:33 +00:00
|
|
|
};
|
|
|
|
|
2021-10-21 19:53:01 +00:00
|
|
|
nativeBuildInputs = [ gettext ];
|
|
|
|
buildInputs = [ gettext gawk bash ];
|
|
|
|
|
|
|
|
strictDeps = true;
|
2016-02-01 00:27:33 +00:00
|
|
|
|
2022-05-10 21:52:26 +00:00
|
|
|
configureFlags = [ "--with-charmaps=${stdenv.cc.libc}/share/i18n/charmaps" ]
|
2016-02-05 18:14:08 +00:00
|
|
|
;
|
2016-02-01 00:27:33 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.nongnu.org/m17n/";
|
2016-02-01 00:27:33 +00:00
|
|
|
description = "Multilingual text processing library (database)";
|
2023-05-20 04:20:00 +00:00
|
|
|
changelog = "https://git.savannah.nongnu.org/cgit/m17n/m17n-db.git/plain/NEWS?h=REL-${lib.replaceStrings [ "." ] [ "-" ] version}";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ astsmtl ];
|
2016-02-01 00:27:33 +00:00
|
|
|
};
|
|
|
|
}
|