2022-08-21 13:32:41 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cexprtk";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "0.4.1";
|
2022-08-21 13:32:41 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-QhftIybufVPO/YbLFycR4qYEAtQMcRPP5jKS6o6dFZg=";
|
2022-08-21 13:32:41 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2022-08-21 13:32:41 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "cexprtk" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Mathematical expression parser, cython wrapper";
|
|
|
|
homepage = "https://github.com/mjdrushton/cexprtk";
|
|
|
|
license = licenses.cpl10;
|
|
|
|
maintainers = with maintainers; [ onny ];
|
|
|
|
};
|
|
|
|
}
|