Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / vcrpy / default.nix
blobfc4283766b5225f7525e1af5a59d92c6f8ce0f83
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytest-httpbin
5 , pytestCheckHook
6 , pythonOlder
7 , pyyaml
8 , six
9 , yarl
10 , wrapt
13 buildPythonPackage rec {
14   pname = "vcrpy";
15   version = "5.1.0";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchPypi {
21     inherit pname version;
22     hash = "sha256-u/FTLyYYoE8RvOKpmvOpZHoyyICVcpP/keCl8Ye2s9I=";
23   };
25   propagatedBuildInputs = [
26     pyyaml
27     six
28     yarl
29     wrapt
30   ];
32   nativeCheckInputs = [
33     pytest-httpbin
34     pytestCheckHook
35   ];
37   disabledTestPaths = [
38     "tests/integration"
39   ];
41   disabledTests = [
42     "TestVCRConnection"
43     # https://github.com/kevin1024/vcrpy/issues/645
44     "test_get_vcr_with_matcher"
45     "test_testcase_playback"
46   ];
48   pythonImportsCheck = [
49     "vcr"
50   ];
52   meta = with lib; {
53     description = "Automatically mock your HTTP interactions to simplify and speed up testing";
54     homepage = "https://github.com/kevin1024/vcrpy";
55     changelog = "https://github.com/kevin1024/vcrpy/releases/tag/v${version}";
56     license = licenses.mit;
57     maintainers = with maintainers; [ ];
58   };