11 buildPythonPackage rec {
16 disabled = pythonOlder "3.8";
19 inherit pname version;
20 hash = "sha256-gjFuFnm8aHnjyDMY0Ba1S3ySJf8IxEYt5IE+IgONX5Q=";
23 build-system = [ setuptools ];
25 dependencies = [ requests ];
27 nativeCheckInputs = [ pytestCheckHook ];
29 pythonImportsCheck = [ "betamax" ];
32 # Tests require network access
33 "tests/integration/test_hooks.py"
34 "tests/integration/test_placeholders.py"
35 "tests/integration/test_record_modes.py"
36 "tests/integration/test_unicode.py"
37 "tests/regression/test_gzip_compression.py"
38 "tests/regression/test_requests_2_11_body_matcher.py"
42 description = "A VCR imitation for requests";
43 homepage = "https://betamax.readthedocs.org/";
44 changelog = "https://github.com/betamaxpy/betamax/blob/${version}/HISTORY.rst";
45 license = licenses.asl20;
46 maintainers = with maintainers; [ pSub ];