python.pkgs.mwclient: use checkInputs

This commit is contained in:
Robert Schütz 2019-02-20 14:39:33 +01:00
parent 94452556cc
commit 5e3bdbedd3

View File

@ -1,10 +1,11 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, requests, requests_oauthlib
, responses, mock, pytestcov, pytest, pytestcache, pytestpep8, coverage, six }:
{ stdenv, buildPythonPackage, fetchFromGitHub
, requests, requests_oauthlib, six
, pytest, pytestpep8, pytestcache, pytestcov, responses, mock
}:
buildPythonPackage rec {
version = "0.9.3";
pname = "mwclient";
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "mwclient";
@ -13,9 +14,9 @@ buildPythonPackage rec {
sha256 = "1kbrmq8zli2j93vmc2887bs7mqr4q1n908nbi1jjcci5v4cd4cqw";
};
buildInputs = [ mock responses pytestcov pytest pytestcache pytestpep8 coverage ];
checkInputs = [ pytest pytestpep8 pytestcache pytestcov responses mock ];
propagatedBuildInputs = [ six requests requests_oauthlib ];
propagatedBuildInputs = [ requests requests_oauthlib six ];
checkPhase = ''
py.test