Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 983 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, mock 5, pytest-httpbin 6, pytestCheckHook 7, pythonOlder 8, pyyaml 9, six 10, yarl 11, wrapt 12}: 13 14buildPythonPackage rec { 15 pname = "vcrpy"; 16 version = "4.2.1"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 hash = "sha256-fNPoGixJLgHCgfGAvMKoa1ILFz0rZWy12J2ZR1Qj4BM="; 24 }; 25 26 propagatedBuildInputs = [ 27 pyyaml 28 six 29 yarl 30 wrapt 31 ]; 32 33 nativeCheckInputs = [ 34 pytest-httpbin 35 pytestCheckHook 36 ]; 37 38 disabledTestPaths = [ 39 "tests/integration" 40 ]; 41 42 disabledTests = [ 43 "TestVCRConnection" 44 ]; 45 46 pythonImportsCheck = [ 47 "vcr" 48 ]; 49 50 meta = with lib; { 51 description = "Automatically mock your HTTP interactions to simplify and speed up testing"; 52 homepage = "https://github.com/kevin1024/vcrpy"; 53 changelog = "https://github.com/kevin1024/vcrpy/releases/tag/v${version}"; 54 license = licenses.mit; 55 maintainers = with maintainers; [ ]; 56 }; 57}