Loading pkgs/development/python-modules/eliot/default.nix +21 −13 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ , boltons , hypothesis , pyrsistent , pytest , pytestCheckHook , setuptools , six , testtools Loading @@ -16,19 +16,15 @@ buildPythonPackage rec { pname = "eliot"; version = "1.14.0"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; sha256 = "c2f099a3e8d5ecfc22745766e7cc664a48db64b6b89d986dff270491d8683149"; hash = "sha256-wvCZo+jV7PwidFdm58xmSkjbZLa4nZht/ycEkdhoMUk="; }; nativeCheckInputs = [ hypothesis testtools pytest ]; propagatedBuildInputs = [ aiocontextvars boltons Loading @@ -38,19 +34,31 @@ buildPythonPackage rec { zope_interface ]; pythonImportsCheck = [ "eliot" ]; nativeCheckInputs = [ hypothesis pytestCheckHook testtools ]; pythonImportsCheck = [ "eliot" ]; # Tests run eliot-prettyprint in out/bin. # test_parse_stream is broken, skip it. checkPhase = '' preCheck = '' export PATH=$out/bin:$PATH pytest -k 'not test_parse_stream' ''; disabledTests = [ "test_parse_stream" # AttributeError: module 'inspect' has no attribute 'getargspec' "test_default" ]; meta = with lib; { homepage = "https://eliot.readthedocs.io"; description = "Logging library that tells you why it happened"; license = licenses.asl20; maintainers = [ maintainers.dpausp ]; maintainers = with maintainers; [ dpausp ]; }; } Loading
pkgs/development/python-modules/eliot/default.nix +21 −13 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ , boltons , hypothesis , pyrsistent , pytest , pytestCheckHook , setuptools , six , testtools Loading @@ -16,19 +16,15 @@ buildPythonPackage rec { pname = "eliot"; version = "1.14.0"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; sha256 = "c2f099a3e8d5ecfc22745766e7cc664a48db64b6b89d986dff270491d8683149"; hash = "sha256-wvCZo+jV7PwidFdm58xmSkjbZLa4nZht/ycEkdhoMUk="; }; nativeCheckInputs = [ hypothesis testtools pytest ]; propagatedBuildInputs = [ aiocontextvars boltons Loading @@ -38,19 +34,31 @@ buildPythonPackage rec { zope_interface ]; pythonImportsCheck = [ "eliot" ]; nativeCheckInputs = [ hypothesis pytestCheckHook testtools ]; pythonImportsCheck = [ "eliot" ]; # Tests run eliot-prettyprint in out/bin. # test_parse_stream is broken, skip it. checkPhase = '' preCheck = '' export PATH=$out/bin:$PATH pytest -k 'not test_parse_stream' ''; disabledTests = [ "test_parse_stream" # AttributeError: module 'inspect' has no attribute 'getargspec' "test_default" ]; meta = with lib; { homepage = "https://eliot.readthedocs.io"; description = "Logging library that tells you why it happened"; license = licenses.asl20; maintainers = [ maintainers.dpausp ]; maintainers = with maintainers; [ dpausp ]; }; }