depot/third_party/nixpkgs/pkgs/development/python-modules/cexprtk/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

26 lines
561 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "cexprtk";
version = "0.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-c7QXB+oXzkRveiPpNrW/HY8pMtpZx/RtDpJMVE7fY/A=";
};
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 ];
};
}