1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5, pytestCheckHook 6, pythonOlder 7, setuptools-scm 8, six 9}: 10 11buildPythonPackage rec { 12 pname = "pytest-remotedata"; 13 version = "0.4.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-viHFWONNfBGw9q61CVbAlSC//NArf86cb46FMaQBocg="; 21 }; 22 23 nativeBuildInputs = [ 24 setuptools-scm 25 ]; 26 27 buildInputs = [ 28 pytest 29 ]; 30 31 propagatedBuildInputs = [ 32 six 33 ]; 34 35 __darwinAllowLocalNetworking = true; 36 37 nativeCheckInputs = [ 38 pytestCheckHook 39 ]; 40 41 disabledTestPaths = [ 42 # These tests require a network connection 43 "tests/test_strict_check.py" 44 ]; 45 46 pythonImportsCheck = [ 47 "pytest_remotedata" 48 ]; 49 50 meta = with lib; { 51 description = "Pytest plugin for controlling remote data access"; 52 homepage = "https://github.com/astropy/pytest-remotedata"; 53 changelog = "https://github.com/astropy/pytest-remotedata/blob/v${version}/CHANGES.rst"; 54 license = licenses.bsd3; 55 maintainers = with maintainers; [ ]; 56 }; 57}