2018-02-18 19:40:53 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, sphinx
|
|
|
|
, jinja2
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "numpydoc";
|
2018-04-04 20:12:00 +02:00
|
|
|
version = "0.8.0";
|
2018-02-18 19:40:53 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname;
|
|
|
|
inherit version;
|
2018-04-04 20:12:00 +02:00
|
|
|
sha256 = "61f4bf030937b60daa3262e421775838c945dcdd671f37b69e8e4854c7eb5ffd";
|
2018-02-18 19:40:53 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
propagatedBuildInputs = [ sphinx jinja2 ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Sphinx extension to support docstrings in Numpy format";
|
|
|
|
homepage = "https://github.com/numpy/numpydoc";
|
|
|
|
license = lib.licenses.free;
|
|
|
|
};
|
|
|
|
}
|