depot/third_party/nixpkgs/pkgs/tools/inputmethods/m17n-lib/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

35 lines
796 B
Nix

{ lib
, stdenv
, fetchurl
, m17n_db
, autoreconfHook
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "m17n-lib";
version = "1.8.4";
src = fetchurl {
url = "https://download.savannah.gnu.org/releases/m17n/m17n-lib-${version}.tar.gz";
hash = "sha256-xqJYLG5PKowueihE+lx+s2Oq0lOLBS8gPHEGSd1CHMg=";
};
strictDeps = true;
# reconf needed to sucesfully cross-compile
nativeBuildInputs = [
autoreconfHook pkg-config
# requires m17n-db tool at build time
m17n_db
];
enableParallelBuilding = true;
meta = {
homepage = "https://www.nongnu.org/m17n/";
description = "Multilingual text processing library (runtime)";
license = lib.licenses.lgpl21Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ astsmtl ];
};
}