Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 23 lines 577 B view raw
1{ fetchurl, libiconv }: 2 3finalAttrs: { 4 version = "0.996"; 5 6 src = fetchurl { 7 url = "https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7cENtOXlicTFaRUE"; 8 name = "mecab-${finalAttrs.version}.tar.gz"; 9 hash = "sha256-4HMyV4MTW3LmZhRceBu0j62lg9UiT7JJD7bBQDumnFk="; 10 }; 11 12 buildInputs = [ libiconv ]; 13 14 configureFlags = [ 15 "--with-charset=utf8" 16 ]; 17 18 # mecab uses several features that have been removed in C++17. 19 # Force the language mode to C++14, so that it can compile with clang 16. 20 makeFlags = [ "CXXFLAGS=-std=c++14" ]; 21 22 doCheck = true; 23}