aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/pytest-astropy/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pytest-astropy/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/pytest-astropy/default.nix17
1 files changed, 14 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pytest-astropy/default.nix b/nixpkgs/pkgs/development/python-modules/pytest-astropy/default.nix
index 1365c43b03a..ae3bc04d0b4 100644
--- a/nixpkgs/pkgs/development/python-modules/pytest-astropy/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/pytest-astropy/default.nix
@@ -1,32 +1,43 @@
{ lib
, buildPythonPackage
, fetchPypi
+, hypothesis
, pytest
+, pytest-astropy-header
, pytest-doctestplus
+, pytest-filter-subpackage
, pytest-remotedata
, pytest-openfiles
, pytest-arraydiff
+, setuptools_scm
}:
buildPythonPackage rec {
pname = "pytest-astropy";
- version = "0.5.0";
+ version = "0.8.0";
src = fetchPypi {
inherit pname version;
- sha256 = "6f28fb81dcdfa745f423b8f6d0303d97357d775b4128bcc2b3668f1602fd5a0b";
+ sha256 = "619800eb2cbf64548fbea25268efe7c6f6ae206cb4825f34abd36f27bcf946a2";
};
+ nativeBuildInputs = [
+ setuptools_scm
+ ];
+
propagatedBuildInputs = [
+ hypothesis
pytest
+ pytest-astropy-header
pytest-doctestplus
+ pytest-filter-subpackage
pytest-remotedata
pytest-openfiles
pytest-arraydiff
];
# pytest-astropy is a meta package and has no tests
- doCheck = false;
+ checkPhase = ":";
meta = with lib; {
description = "Meta-package containing dependencies for testing";