22 buildPythonPackage rec {
25 format = "setuptools";
27 disabled = pythonOlder "3.7";
29 src = fetchFromGitHub {
31 repo = "softlayer-python";
32 rev = "refs/tags/v${version}";
33 hash = "sha256-wDLMVonPUexoaZ60kRBILmr5l46yajzACozCp6uETGY=";
37 substituteInPlace setup.py \
38 --replace "rich ==" "rich >="
41 propagatedBuildInputs = [
52 __darwinAllowLocalNetworking = true;
63 # Otherwise soap_tests.py will fail to create directory
64 # Permission denied: '/homeless-shelter'
66 export HOME=$(mktemp -d)
70 # Test fails with ConnectionError trying to connect to api.softlayer.com
71 "tests/transports/soap_tests.py.unstable"
74 pythonImportsCheck = [ "SoftLayer" ];
77 description = "Python libraries that assist in calling the SoftLayer API";
78 homepage = "https://github.com/softlayer/softlayer-python";
79 changelog = "https://github.com/softlayer/softlayer-python/releases/tag/v${version}";
80 license = licenses.mit;
81 maintainers = with maintainers; [ onny ];