1{ lib 2, fetchPypi 3, buildPythonPackage 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "cexprtk"; 9 version = "0.4.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "sha256-c7QXB+oXzkRveiPpNrW/HY8pMtpZx/RtDpJMVE7fY/A="; 14 }; 15 16 checkInputs = [ 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}