pythonPackages.docker: use dontUseSetuptoolsCheck
This commit is contained in:
parent
570e3edc85
commit
272cdfcd6c
@ -18,9 +18,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "0bkj1xfp6mnvk1i9hl5awsmwi07q6iwwsjznd7kvrx5m19i6dbnx";
|
sha256 = "0bkj1xfp6mnvk1i9hl5awsmwi07q6iwwsjznd7kvrx5m19i6dbnx";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = lib.optional isPy27 mock;
|
||||||
pytestCheckHook
|
|
||||||
] ++ lib.optional isPy27 mock;
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
paramiko
|
paramiko
|
||||||
@ -29,12 +27,15 @@ buildPythonPackage rec {
|
|||||||
websocket_client
|
websocket_client
|
||||||
] ++ lib.optional isPy27 backports_ssl_match_hostname;
|
] ++ lib.optional isPy27 backports_ssl_match_hostname;
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [ "tests/unit" ];
|
pytestFlagsArray = [ "tests/unit" ];
|
||||||
# Deselect socket tests on Darwin because it hits the path length limit for a Unix domain socket
|
# Deselect socket tests on Darwin because it hits the path length limit for a Unix domain socket
|
||||||
disabledTests = lib.optionals stdenv.isDarwin [ "stream_response" "socket_file" ];
|
disabledTests = lib.optionals stdenv.isDarwin [ "stream_response" "socket_file" ];
|
||||||
|
|
||||||
# skip setuptoolsCheckPhase
|
dontUseSetuptoolsCheck = true;
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An API client for docker written in Python";
|
description = "An API client for docker written in Python";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user