diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-02-27 00:22:09 +0100 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-02-27 00:22:09 +0100 |
commit | c5fab86a7ef4102e597ea03ba9630f217ecb29ed (patch) | |
tree | 651f1d9028c1346d06e4201f01c3017c0bdcc2b1 /pkgs/development/python-modules/astral | |
parent | e459171f9a847fe6138d91010e4a82872d3e3d56 (diff) |
pythonPackages.astral: fix build
Diffstat (limited to 'pkgs/development/python-modules/astral')
-rw-r--r-- | pkgs/development/python-modules/astral/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/astral/default.nix b/pkgs/development/python-modules/astral/default.nix index 46b4b6bc8ea3c..488c5ed66512d 100644 --- a/pkgs/development/python-modules/astral/default.nix +++ b/pkgs/development/python-modules/astral/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildPythonPackage, fetchPypi, pytz, pytest }: +{ stdenv, buildPythonPackage, fetchPypi, pytz, requests, pytest }: buildPythonPackage rec { pname = "astral"; @@ -9,11 +9,13 @@ buildPythonPackage rec { sha256 = "874b397ddbf0a4c1d8d644b21c2481e8a96b61343f820ad52d8a322d61a15083"; }; - propagatedBuildInputs = [ pytz ]; + propagatedBuildInputs = [ pytz requests ]; checkInputs = [ pytest ]; checkPhase = '' - py.test -k "not test_GoogleLocator" + # https://github.com/sffjunkie/astral/pull/13 + touch src/test/.api_key + py.test -m "not webtest" ''; meta = with stdenv.lib; { |