Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pytest-remotedata / default.nix
blobfb91f461329e8fc640333e64c79b9c28c3435dd5
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , six
5 , pytest
6 }:
8 buildPythonPackage rec {
9   pname = "pytest-remotedata";
10   version = "0.3.2";
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "e20c58d4b7c359c4975dc3c3d3d67be0905180d2368be0be3ae09b15a136cfc0";
15   };
17   buildInputs = [ pytest ];
19   propagatedBuildInputs = [
20     six
21   ];
23   checkInputs = [
24     pytest
25   ];
27   checkPhase = ''
28     # these tests require a network connection
29     pytest --ignore tests/test_strict_check.py
30   '';
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   };