diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/pytest-remotedata/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/development/python-modules/pytest-remotedata/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/pytest-remotedata/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/pytest-remotedata/default.nix new file mode 100644 index 000000000000..94bc02159bf4 --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/pytest-remotedata/default.nix @@ -0,0 +1,37 @@ +{ 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 ]; + }; +} |