python3Packages.Nikola: add mock to checkInputs
mock is no longer in propagatedBuildInputs of pytest-mock for python>2.7
commit1674636aa75afbd1e11bfd91ea3aa960a3f819cd
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>
dateMon 12 Feb 2018, 12:46 (9 years ago)
parent804bf3c
pkgs/development/python-modules/Nikola/default.nix+2−2
@@ -7,6 +7,7 @@
77, pytest
88, pytestcov
99, pytest-mock
10+, mock
1011, pygments
1112, pillow
1213, dateutil
@@ -28,7 +29,6 @@
2829}:
2930
3031buildPythonPackage rec {
31− name = "${pname}-${version}";
3232 pname = "Nikola";
3333 version = "7.8.11";
3434
@@ -37,7 +37,7 @@ buildPythonPackage rec {
3737 # other hand doesn't support Python 3.3). So, just disable Python 2.
3838 disabled = !isPy3k;
3939
40− buildInputs = [ pytest pytestcov pytest-mock glibcLocales ];
40+ checkInputs = [ pytest pytestcov pytest-mock mock glibcLocales ];
4141
4242 propagatedBuildInputs = [
4343 pygments pillow dateutil docutils Mako unidecode lxml Yapsy PyRSS2Gen