94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
26 lines
559 B
Nix
26 lines
559 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cexprtk";
|
|
version = "0.4.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-QhftIybufVPO/YbLFycR4qYEAtQMcRPP5jKS6o6dFZg=";
|
|
};
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "cexprtk" ];
|
|
|
|
meta = with lib; {
|
|
description = "Mathematical expression parser, cython wrapper";
|
|
homepage = "https://github.com/mjdrushton/cexprtk";
|
|
license = licenses.cpl10;
|
|
maintainers = with maintainers; [ onny ];
|
|
};
|
|
}
|