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