pythonPackages.pytest-mock: init at 1.2
Tested on Linux Tested on Darwin
This commit is contained in:
parent
251e67af5c
commit
f3f975a0dd
@ -4630,6 +4630,27 @@ in modules // {
|
||||
};
|
||||
};
|
||||
|
||||
pytest-mock = buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "pytest-mock";
|
||||
version = "1.2";
|
||||
|
||||
propagatedBuildInputs = with self; [ mock pytest ];
|
||||
|
||||
meta = {
|
||||
description = "Thin-wrapper around the mock package for easier use with py.test.";
|
||||
homepage = "https://github.com/pytest-dev/pytest-mock";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ nand0p ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/${pname}/${name}.zip";
|
||||
sha256 = "03zxar5drzm7ksqyrwypjaza3cri6wqvpr6iam92djvg6znp32gp";
|
||||
};
|
||||
};
|
||||
|
||||
pytestpep8 = buildPythonPackage rec {
|
||||
name = "pytest-pep8";
|
||||
src = pkgs.fetchurl {
|
||||
|
Loading…
Reference in New Issue
Block a user