mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
python3Packages.Nikola: add mock to checkInputs
mock is no longer in propagatedBuildInputs of pytest-mock for python>2.7
This commit is contained in:
parent
804bf3c22a
commit
1674636aa7
1 changed files with 2 additions and 2 deletions
|
@ -7,6 +7,7 @@
|
|||
, pytest
|
||||
, pytestcov
|
||||
, pytest-mock
|
||||
, mock
|
||||
, pygments
|
||||
, pillow
|
||||
, dateutil
|
||||
|
@ -28,7 +29,6 @@
|
|||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "Nikola";
|
||||
version = "7.8.11";
|
||||
|
||||
|
@ -37,7 +37,7 @@ buildPythonPackage rec {
|
|||
# other hand doesn't support Python 3.3). So, just disable Python 2.
|
||||
disabled = !isPy3k;
|
||||
|
||||
buildInputs = [ pytest pytestcov pytest-mock glibcLocales ];
|
||||
checkInputs = [ pytest pytestcov pytest-mock mock glibcLocales ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pygments pillow dateutil docutils Mako unidecode lxml Yapsy PyRSS2Gen
|
||||
|
|
Loading…
Reference in a new issue