python.pkgs.mwclient: use checkInputs
This commit is contained in:
parent
94452556cc
commit
5e3bdbedd3
@ -1,10 +1,11 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchFromGitHub, requests, requests_oauthlib
|
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||||
, responses, mock, pytestcov, pytest, pytestcache, pytestpep8, coverage, six }:
|
, requests, requests_oauthlib, six
|
||||||
|
, pytest, pytestpep8, pytestcache, pytestcov, responses, mock
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "0.9.3";
|
version = "0.9.3";
|
||||||
pname = "mwclient";
|
pname = "mwclient";
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mwclient";
|
owner = "mwclient";
|
||||||
@ -13,9 +14,9 @@ buildPythonPackage rec {
|
|||||||
sha256 = "1kbrmq8zli2j93vmc2887bs7mqr4q1n908nbi1jjcci5v4cd4cqw";
|
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 = ''
|
checkPhase = ''
|
||||||
py.test
|
py.test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user