at 25.11-pre 37 lines 785 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 m17n_db, 6 autoreconfHook, 7 pkg-config, 8}: 9stdenv.mkDerivation rec { 10 pname = "m17n-lib"; 11 version = "1.8.5"; 12 13 src = fetchurl { 14 url = "mirror://savannah/m17n/${pname}-${version}.tar.gz"; 15 hash = "sha256-e2xCX3ktBtFOT1sXIE02J+LI67Qj69rpLAxkZxDT1sc="; 16 }; 17 18 strictDeps = true; 19 20 # reconf needed to successfully cross-compile 21 nativeBuildInputs = [ 22 autoreconfHook 23 pkg-config 24 # requires m17n-db tool at build time 25 m17n_db 26 ]; 27 28 enableParallelBuilding = true; 29 30 meta = { 31 homepage = "https://www.nongnu.org/m17n/"; 32 description = "Multilingual text processing library (runtime)"; 33 license = lib.licenses.lgpl21Plus; 34 platforms = lib.platforms.linux; 35 maintainers = with lib.maintainers; [ astsmtl ]; 36 }; 37}