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 buildInputs = [ pytest ]; 18 19 propagatedBuildInputs = [ 20 six 21 ]; 22 23 checkInputs = [ 24 pytest 25 ]; 26 27 checkPhase = '' 28 # these tests require a network connection 29 pytest --ignore tests/test_strict_check.py 30 ''; 31 32 meta = with lib; { 33 description = "Pytest plugin for controlling remote data access"; 34 homepage = "https://astropy.org"; 35 license = licenses.bsd3; 36 maintainers = [ maintainers.costrouc ]; 37 }; 38}