Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 22 lines 620 B view raw
1{ stdenv, fetchurl, marisa, libkkc }: 2 3stdenv.mkDerivation rec { 4 pname = "libkkc-data"; 5 version = "0.2.7"; 6 name = "${pname}-${version}"; 7 8 src = fetchurl { 9 url = "${meta.homepage}/releases/download/v${libkkc.version}/${name}.tar.xz"; 10 sha256 = "16avb50jasq2f1n9xyziky39dhlnlad0991pisk3s11hl1aqfrwy"; 11 }; 12 13 nativeBuildInputs = [ marisa ]; 14 15 meta = with stdenv.lib; { 16 description = "Language model data package for libkkc"; 17 homepage = https://github.com/ueno/libkkc; 18 license = licenses.gpl3Plus; 19 maintainers = with maintainers; [ vanzef ]; 20 platforms = platforms.linux; 21 }; 22}