Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 36 lines 732 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.6"; 12 13 src = fetchurl { 14 url = "mirror://savannah/m17n/${pname}-${version}.tar.gz"; 15 hash = "sha256-cSn+O3rVAPiLivhgXvB7lsh6deyYamlf/8CkCfRKfIY="; 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 }; 36}