Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 41 lines 753 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, six 6, pytest 7, numpy 8}: 9 10buildPythonPackage rec { 11 pname = "pytest-doctestplus"; 12 version = "0.8.0"; 13 disabled = isPy27; # abandoned upstream 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "fb083925a17ce636f33997c275f61123e63372c1db11fefac1e991ed25a4ca37"; 18 }; 19 20 propagatedBuildInputs = [ 21 six 22 numpy 23 pytest 24 ]; 25 26 checkInputs = [ 27 pytest 28 ]; 29 30 # check_distribution incorrectly pulls pytest version 31 checkPhase = '' 32 pytest -k 'not check_distribution' 33 ''; 34 35 meta = with lib; { 36 description = "Pytest plugin with advanced doctest features"; 37 homepage = "https://astropy.org"; 38 license = licenses.bsd3; 39 maintainers = [ maintainers.costrouc ]; 40 }; 41}