1{ lib 2, fetchPypi 3, buildPythonPackage 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "cexprtk"; 9 version = "0.4.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 hash = "sha256-QhftIybufVPO/YbLFycR4qYEAtQMcRPP5jKS6o6dFZg="; 14 }; 15 16 nativeCheckInputs = [ pytestCheckHook ]; 17 18 pythonImportsCheck = [ "cexprtk" ]; 19 20 meta = with lib; { 21 description = "Mathematical expression parser, cython wrapper"; 22 homepage = "https://github.com/mjdrushton/cexprtk"; 23 license = licenses.cpl10; 24 maintainers = with maintainers; [ onny ]; 25 }; 26}