python.pkgs.construct: 2.9.45 -> 2.10.56
This commit is contained in:
parent
5c68e3171e
commit
89f51ae949
@ -1,27 +1,24 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||||
, six, pytest, arrow
|
, six, pytestCheckHook, pytest-benchmark, numpy, arrow, ruamel_yaml
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "construct";
|
pname = "construct";
|
||||||
version = "2.9.45";
|
version = "2.10.56";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
# no tests in PyPI tarball
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0ig66xrzswpkhhmw123p2nvr15a9lxz54a1fmycfdh09327c1d3y";
|
sha256 = "1j4mqwyxkbdcsnnk5bbdcljv855w4fglaqc94q1xdzm8kgjxk4mr";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ six ];
|
checkInputs = [ pytestCheckHook pytest-benchmark numpy arrow ruamel_yaml ];
|
||||||
|
|
||||||
checkInputs = [ pytest arrow ];
|
pytestFlagsArray = [ "--benchmark-disable" ];
|
||||||
|
|
||||||
# TODO: figure out missing dependencies
|
|
||||||
doCheck = false;
|
|
||||||
checkPhase = ''
|
|
||||||
py.test -k 'not test_numpy and not test_gallery' tests
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Powerful declarative parser (and builder) for binary data";
|
description = "Powerful declarative parser (and builder) for binary data";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user