forked from mirrors/nixpkgs
python.pkgs.mwclient: use checkInputs
This commit is contained in:
parent
94452556cc
commit
5e3bdbedd3
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue