Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, nose 5, numpy 6, pythonOlder 7, six 8}: 9 10buildPythonPackage rec { 11 pname = "py-stringmatching"; 12 version = "0.4.3"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 pname = "py_stringmatching"; 19 inherit version; 20 sha256 = "sha256-khubsWOzEN80HDOCORMgT3sMqfajGfW0UUCDAL03je4="; 21 }; 22 23 propagatedBuildInputs = [ 24 numpy 25 six 26 ]; 27 28 nativeCheckInputs = [ 29 nose 30 ]; 31 32 pythonImportsCheck = [ 33 "py_stringmatching" 34 ]; 35 36 meta = with lib; { 37 description = "Python string matching library including string tokenizers and string similarity measures"; 38 homepage = "https://github.com/anhaidgroup/py_stringmatching"; 39 changelog = "https://github.com/anhaidgroup/py_stringmatching/blob/v${version}/CHANGES.txt"; 40 license = licenses.bsd3; 41 maintainers = with maintainers; [ ixxie ]; 42 }; 43}