diff options
author | Robert Schütz <dev@schuetz-co.de> | 2020-08-11 16:59:07 +0200 |
---|---|---|
committer | Robert Schütz <dev@schuetz-co.de> | 2020-08-12 17:33:07 +0200 |
commit | 89f51ae94910dacdc4588c9a72239b6ab08a85d4 (patch) | |
tree | 598b384895fefda45c6e8eaaefc3cfcdf87ce28d /pkgs/development/python-modules/construct | |
parent | 5c68e3171e457c007a96520a0008f7a131eb2c13 (diff) |
python.pkgs.construct: 2.9.45 -> 2.10.56
Diffstat (limited to 'pkgs/development/python-modules/construct')
-rw-r--r-- | pkgs/development/python-modules/construct/default.nix | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/construct/default.nix b/pkgs/development/python-modules/construct/default.nix index 59b3eb38afd00..1f68536056618 100644 --- a/pkgs/development/python-modules/construct/default.nix +++ b/pkgs/development/python-modules/construct/default.nix @@ -1,27 +1,24 @@ -{ stdenv, buildPythonPackage, fetchFromGitHub -, six, pytest, arrow +{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder +, six, pytestCheckHook, pytest-benchmark, numpy, arrow, ruamel_yaml }: buildPythonPackage rec { pname = "construct"; - version = "2.9.45"; + version = "2.10.56"; + disabled = pythonOlder "3.6"; + + # no tests in PyPI tarball src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - sha256 = "0ig66xrzswpkhhmw123p2nvr15a9lxz54a1fmycfdh09327c1d3y"; + sha256 = "1j4mqwyxkbdcsnnk5bbdcljv855w4fglaqc94q1xdzm8kgjxk4mr"; }; - propagatedBuildInputs = [ six ]; - - checkInputs = [ pytest arrow ]; + checkInputs = [ pytestCheckHook pytest-benchmark numpy arrow ruamel_yaml ]; - # TODO: figure out missing dependencies - doCheck = false; - checkPhase = '' - py.test -k 'not test_numpy and not test_gallery' tests - ''; + pytestFlagsArray = [ "--benchmark-disable" ]; meta = with stdenv.lib; { description = "Powerful declarative parser (and builder) for binary data"; |