mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
python3Packages.pytest-vcr: init at 1.0.2
This commit is contained in:
parent
bcdca92787
commit
97b9ca2f16
36
pkgs/development/python-modules/pytest-vcr/default.nix
Normal file
36
pkgs/development/python-modules/pytest-vcr/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pytest
|
||||
, vcrpy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-vcr";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ktosiek";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1i6fin91mklvbi8jzfiswvwf1m91f43smpj36a17xrzk4gisfs6i";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pytest
|
||||
vcrpy
|
||||
];
|
||||
|
||||
# Tests are using an obsolete attribute 'config'
|
||||
# https://github.com/ktosiek/pytest-vcr/issues/43
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "pytest_vcr" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Integration VCR.py into pytest";
|
||||
homepage = "https://github.com/ktosiek/pytest-vcr";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user