ch9344: 2.0 -> 0-unstable-2024-11-15 (#354536)
[NixPkgs.git] / pkgs / development / python-modules / vcrpy / default.nix
blob20d4e7b46359ab4d0901fc37146bdc9615f12337
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytest-httpbin,
6   pytestCheckHook,
7   pythonOlder,
8   pyyaml,
9   six,
10   yarl,
11   wrapt,
14 buildPythonPackage rec {
15   pname = "vcrpy";
16   version = "6.0.1";
17   format = "setuptools";
19   disabled = pythonOlder "3.7";
21   src = fetchPypi {
22     inherit pname version;
23     hash = "sha256-ngI/7n+JK6oLvaL32nyKxRFlwcbjj/hohoOhKkvekng=";
24   };
26   propagatedBuildInputs = [
27     pyyaml
28     six
29     yarl
30     wrapt
31   ];
33   nativeCheckInputs = [
34     pytest-httpbin
35     pytestCheckHook
36   ];
38   disabledTestPaths = [ "tests/integration" ];
40   disabledTests = [
41     "TestVCRConnection"
42     # https://github.com/kevin1024/vcrpy/issues/645
43     "test_get_vcr_with_matcher"
44     "test_testcase_playback"
45   ];
47   pythonImportsCheck = [ "vcr" ];
49   meta = with lib; {
50     description = "Automatically mock your HTTP interactions to simplify and speed up testing";
51     homepage = "https://github.com/kevin1024/vcrpy";
52     changelog = "https://github.com/kevin1024/vcrpy/releases/tag/v${version}";
53     license = licenses.mit;
54     maintainers = [ ];
55   };