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