mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
57 lines
1.0 KiB
Nix
57 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pytest-httpbin,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
pyyaml,
|
|
six,
|
|
yarl,
|
|
wrapt,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "vcrpy";
|
|
version = "6.0.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ngI/7n+JK6oLvaL32nyKxRFlwcbjj/hohoOhKkvekng=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pyyaml
|
|
six
|
|
yarl
|
|
wrapt
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-httpbin
|
|
pytestCheckHook
|
|
];
|
|
|
|
disabledTestPaths = [ "tests/integration" ];
|
|
|
|
disabledTests = [
|
|
"TestVCRConnection"
|
|
# https://github.com/kevin1024/vcrpy/issues/645
|
|
"test_get_vcr_with_matcher"
|
|
"test_testcase_playback"
|
|
];
|
|
|
|
pythonImportsCheck = [ "vcr" ];
|
|
|
|
meta = with lib; {
|
|
description = "Automatically mock your HTTP interactions to simplify and speed up testing";
|
|
homepage = "https://github.com/kevin1024/vcrpy";
|
|
changelog = "https://github.com/kevin1024/vcrpy/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|