pythonPackages.pydocstyle: correct propagatedBuildInputs

This commit is contained in:
Robert Schütz 2018-03-01 11:03:17 +01:00 committed by Robin Gloster
parent 0d9224bdc5
commit 13ac2ee2f6

View File

@ -1,5 +1,6 @@
{ stdenv, buildPythonPackage, fetchPypi, snowballstemmer, configparser, { lib, buildPythonPackage, fetchPypi, isPy3k
pytest, pytestpep8, mock, pathlib }: , snowballstemmer, six, configparser
, pytest, pytestpep8, mock, pathlib }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pydocstyle"; pname = "pydocstyle";
@ -10,11 +11,11 @@ buildPythonPackage rec {
sha256 = "15ssv8l6cvrmzgwcdzw76rnl4np3qf0dbwr1wsx76y0hc7lwsnsd"; sha256 = "15ssv8l6cvrmzgwcdzw76rnl4np3qf0dbwr1wsx76y0hc7lwsnsd";
}; };
propagatedBuildInputs = [ snowballstemmer configparser ]; propagatedBuildInputs = [ snowballstemmer six ] ++ lib.optional (!isPy3k) configparser;
checkInputs = [ pytest pytestpep8 mock pathlib ]; checkInputs = [ pytest pytestpep8 mock pathlib ];
meta = with stdenv.lib; { meta = with lib; {
description = "Python docstring style checker"; description = "Python docstring style checker";
homepage = https://github.com/PyCQA/pydocstyle/; homepage = https://github.com/PyCQA/pydocstyle/;
license = licenses.mit; license = licenses.mit;