11 buildPythonPackage rec {
12 pname = "requests-toolbelt";
16 inherit pname version;
17 sha256 = "968089d4584ad4ad7c171454f0a5c6dac23971e9472521ea3b6d49d610aa6fc0";
20 checkInputs = [ pyopenssl betamax mock pytest ];
21 propagatedBuildInputs = [ requests ];
24 # disabled tests access the network
25 py.test tests -k "not test_no_content_length_header \
26 and not test_read_file \
27 and not test_reads_file_from_url_wrapper"
31 description = "A toolbelt of useful classes and functions to be used with python-requests";
32 homepage = "http://toolbelt.rtfd.org";
33 license = lib.licenses.asl20;
34 maintainers = with lib.maintainers; [ matthiasbeyer ];