python310Packages.cexprtk: init at 0.4.0

This commit is contained in:
Jonas Heinrich 2022-08-11 13:00:44 +02:00
parent 77c71e6329
commit 59174d46db
2 changed files with 28 additions and 0 deletions

View file

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

View file

@ -1600,6 +1600,8 @@ in {
censys = callPackage ../development/python-modules/censys { };
cexprtk = callPackage ../development/python-modules/cexprtk { };
coincurve = callPackage ../development/python-modules/coincurve {
inherit (pkgs) secp256k1;
};