depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-remotedata/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

37 lines
686 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, six
, pytest
}:
buildPythonPackage rec {
pname = "pytest-remotedata";
version = "0.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "e20c58d4b7c359c4975dc3c3d3d67be0905180d2368be0be3ae09b15a136cfc0";
};
propagatedBuildInputs = [
six
pytest
];
checkInputs = [
pytest
];
checkPhase = ''
# these tests require a network connection
pytest --ignore tests/test_strict_check.py
'';
meta = with lib; {
description = "Pytest plugin for controlling remote data access";
homepage = "https://astropy.org";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}