depot/third_party/nixpkgs/pkgs/development/python-modules/cexprtk/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

27 lines
584 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "cexprtk";
version = "0.4.1";
format = "setuptools";
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 ];
};
}