1{ lib
2, buildPythonPackage
3, fetchPypi
4, six
5, pytest
6}:
7
8buildPythonPackage rec {
9 pname = "pytest-remotedata";
10 version = "0.3.2";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "e20c58d4b7c359c4975dc3c3d3d67be0905180d2368be0be3ae09b15a136cfc0";
15 };
16
17 propagatedBuildInputs = [
18 six
19 pytest
20 ];
21
22 checkInputs = [
23 pytest
24 ];
25
26 checkPhase = ''
27 # these tests require a network connection
28 pytest --ignore tests/test_strict_check.py
29 '';
30
31 meta = with lib; {
32 description = "Pytest plugin for controlling remote data access";
33 homepage = https://astropy.org;
34 license = licenses.bsd3;
35 maintainers = [ maintainers.costrouc ];
36 };
37}