tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
pythonPackages.googletrans: cleanup
Sandro Jäckel
5 years ago
e976a92b
2c1b526f
+2
-9
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
googletrans
default.nix
+2
-9
pkgs/development/python-modules/googletrans/default.nix
reviewed
···
1
1
-
{ lib, buildPythonPackage, fetchFromGitHub, requests, pytest, coveralls }:
1
1
+
{ lib, buildPythonPackage, fetchFromGitHub, requests }:
2
2
3
3
buildPythonPackage rec {
4
4
pname = "googletrans";
···
11
11
sha256 = "0wzzinn0k9rfv9z1gmfk9l4kljyd4n6kizsjw4wjxv91kfhj92hz";
12
12
};
13
13
14
14
-
propagatedBuildInputs = [
15
15
-
requests
16
16
-
];
17
17
-
18
18
-
checkInputs = [ pytest coveralls ];
14
14
+
propagatedBuildInputs = [ requests ];
19
15
20
16
# majority of tests just try to ping Google's Translate API endpoint
21
17
doCheck = false;
22
22
-
checkPhase = ''
23
23
-
pytest
24
24
-
'';
25
18
26
19
pythonImportsCheck = [ "googletrans" ];
27
20