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