blade-formatter: 1.42.0 -> 1.42.1 (#376873)
[NixPkgs.git] / pkgs / development / python-modules / pytest-remotedata / default.nix
blob25cf16b2a6e6a7e162b48db4228f9b498ed1c11d
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytest,
6   pytestCheckHook,
7   pythonOlder,
8   setuptools-scm,
9   six,
12 buildPythonPackage rec {
13   pname = "pytest-remotedata";
14   version = "0.4.1";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-BcCL9jjN0e1m6wFzihZHw8cUc3w+w6vgCdLB95O0u1k=";
22   };
24   nativeBuildInputs = [ setuptools-scm ];
26   buildInputs = [ pytest ];
28   propagatedBuildInputs = [ six ];
30   __darwinAllowLocalNetworking = true;
32   nativeCheckInputs = [ pytestCheckHook ];
34   disabledTestPaths = [
35     # These tests require a network connection
36     "tests/test_strict_check.py"
37   ];
39   pythonImportsCheck = [ "pytest_remotedata" ];
41   meta = with lib; {
42     description = "Pytest plugin for controlling remote data access";
43     homepage = "https://github.com/astropy/pytest-remotedata";
44     changelog = "https://github.com/astropy/pytest-remotedata/blob/v${version}/CHANGES.rst";
45     license = licenses.bsd3;
46     maintainers = [ ];
47   };