nixpkgs/pkgs/development/python-modules/cexprtk/default.nix
2022-08-19 09:15:56 +02:00

27 lines
555 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=";
};
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 ];
};
}