Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 48 lines 956 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, hypothesis 5, pytest 6, pytest-astropy-header 7, pytest-doctestplus 8, pytest-filter-subpackage 9, pytest-remotedata 10, pytest-openfiles 11, pytest-arraydiff 12, setuptools_scm 13}: 14 15buildPythonPackage rec { 16 pname = "pytest-astropy"; 17 version = "0.8.0"; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "619800eb2cbf64548fbea25268efe7c6f6ae206cb4825f34abd36f27bcf946a2"; 22 }; 23 24 nativeBuildInputs = [ 25 setuptools_scm 26 ]; 27 28 propagatedBuildInputs = [ 29 hypothesis 30 pytest 31 pytest-astropy-header 32 pytest-doctestplus 33 pytest-filter-subpackage 34 pytest-remotedata 35 pytest-openfiles 36 pytest-arraydiff 37 ]; 38 39 # pytest-astropy is a meta package and has no tests 40 checkPhase = ":"; 41 42 meta = with lib; { 43 description = "Meta-package containing dependencies for testing"; 44 homepage = "https://astropy.org"; 45 license = licenses.bsd3; 46 maintainers = [ maintainers.costrouc ]; 47 }; 48}