nixpkgs-suyu/pkgs/development/python-modules/vcrpy/default.nix
2017-04-26 19:49:48 +02:00

28 lines
622 B
Nix

{ lib, pkgs, pythonPackages }:
pythonPackages.buildPythonPackage rec {
version = "1.10.5";
name = "vcrpy-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/v/vcrpy/vcrpy-${version}.tar.gz";
sha256 = "12kncg6jyvj15mi8ca74514f2x1ih753nhyz769nwvh39r468167";
};
buildInputs = with pythonPackages; [
pyyaml
mock
contextlib2
wrapt
pytest_27
httpbin
pytest-httpbin
];
meta = with lib; {
description = "Automatically mock your HTTP interactions to simplify and speed up testing";
homepage = https://github.com/kevin1024/vcrpy;
license = licenses.mit;
};
}