pythonPackages.googletrans: cleanup
This commit is contained in:
parent
2c1b526fad
commit
e976a92b6e
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, requests, pytest, coveralls }:
|
{ lib, buildPythonPackage, fetchFromGitHub, requests }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "googletrans";
|
pname = "googletrans";
|
||||||
@ -11,17 +11,10 @@ buildPythonPackage rec {
|
|||||||
sha256 = "0wzzinn0k9rfv9z1gmfk9l4kljyd4n6kizsjw4wjxv91kfhj92hz";
|
sha256 = "0wzzinn0k9rfv9z1gmfk9l4kljyd4n6kizsjw4wjxv91kfhj92hz";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [ requests ];
|
||||||
requests
|
|
||||||
];
|
|
||||||
|
|
||||||
checkInputs = [ pytest coveralls ];
|
|
||||||
|
|
||||||
# majority of tests just try to ping Google's Translate API endpoint
|
# majority of tests just try to ping Google's Translate API endpoint
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
checkPhase = ''
|
|
||||||
pytest
|
|
||||||
'';
|
|
||||||
|
|
||||||
pythonImportsCheck = [ "googletrans" ];
|
pythonImportsCheck = [ "googletrans" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user