25 buildPythonPackage rec {
30 inherit pname version;
31 hash = "sha256-JeDmZx667rG1ARfRBUDTcOWe7u3ZiytZzGQSRp8bpes=";
35 # files requires boto which is incompatible with python 3.9
36 rm test/functional/s3api/{__init__.py,s3_test_client.py}
44 propagatedBuildInputs = [
59 installManPage doc/manpages/*
69 # a lot of tests currently fail while establishing a connection
73 echo "nameserver 127.0.0.1" > resolv.conf
74 export NIX_REDIRECTS=/etc/protocols=${iana-etc}/etc/protocols:/etc/resolv.conf=$(realpath resolv.conf)
75 export LD_PRELOAD=${libredirect}/lib/libredirect.so
77 export SWIFT_TEST_CONFIG_FILE=test/sample.conf
82 pythonImportsCheck = [ "swift" ];
85 description = "OpenStack Object Storage";
86 homepage = "https://github.com/openstack/swift";
87 license = licenses.asl20;
88 maintainers = teams.openstack.members;