python3Packages.asteval: 0.9.23 -> 0.9.25

This commit is contained in:
Fabian Affolter 2021-07-02 15:15:42 +02:00
parent f75e2a648c
commit 5cc74f2795

View file

@ -3,21 +3,30 @@
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "asteval";
version = "0.9.23";
version = "0.9.25";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "newville";
repo = pname;
rev = version;
sha256 = "sha256-9Zxb2EzB6nxDQHdlryFiwyNW+76VvysLUB78bXKzfv0=";
sha256 = "sha256-Jy+4NifItCGI1Jj25VakwoJcrpZw0Ng4cArf2M31WGs=";
};
checkInputs = [ pytestCheckHook ];
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools-scm
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "asteval" ];