2022-08-11 11:00:44 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cexprtk";
|
|
|
|
version = "0.4.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-03 00:48:06 +00:00
|
|
|
hash = "sha256-c7QXB+oXzkRveiPpNrW/HY8pMtpZx/RtDpJMVE7fY/A=";
|
2022-08-11 11:00:44 +00:00
|
|
|
};
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2022-08-11 11:00:44 +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 ];
|
|
|
|
};
|
|
|
|
}
|