1{ lib
2, buildPythonPackage
3, fetchPypi
4, six
5, pytest
6}:
7
8buildPythonPackage rec {
9 pname = "pytest-remotedata";
10 version = "0.3.1";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "15b75a38431da96a4da5e48b20a18e4dcc40d191abc199b17cb969f818530481";
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}