mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
pythonPackages.pydocstyle: depend on pathlib for python<3.4 only
This commit is contained in:
parent
ca09d1b303
commit
d90fa004b4
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, pythonOlder
|
||||
, snowballstemmer, six, configparser
|
||||
, pytest, pytestpep8, mock, pathlib }:
|
||||
|
||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ snowballstemmer six ] ++ lib.optional (!isPy3k) configparser;
|
||||
|
||||
checkInputs = [ pytest pytestpep8 mock pathlib ];
|
||||
checkInputs = [ pytest pytestpep8 mock ] ++ lib.optional (pythonOlder "3.4") pathlib;
|
||||
|
||||
checkPhase = ''
|
||||
# test_integration.py installs packages via pip
|
||||
|
|
Loading…
Reference in a new issue