2019-10-17 08:34:49 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, jinja2
|
2018-02-18 18:40:53 +00:00
|
|
|
, nose
|
2019-10-17 08:34:49 +01:00
|
|
|
, pytest
|
2018-02-18 18:40:53 +00:00
|
|
|
, sphinx
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "numpydoc";
|
2020-06-06 07:47:20 +01:00
|
|
|
version = "1.0.0";
|
2018-02-18 18:40:53 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname;
|
|
|
|
inherit version;
|
2020-06-06 07:47:20 +01:00
|
|
|
sha256 = "e481c0799dfda208b6a2c2cb28757fa6b6cbc4d6e43722173697996cf556df7f";
|
2018-02-18 18:40:53 +00:00
|
|
|
};
|
|
|
|
|
2019-10-17 08:34:49 +01:00
|
|
|
checkInputs = [ nose pytest ];
|
2018-02-18 18:40:53 +00:00
|
|
|
propagatedBuildInputs = [ sphinx jinja2 ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Sphinx extension to support docstrings in Numpy format";
|
|
|
|
homepage = "https://github.com/numpy/numpydoc";
|
|
|
|
license = lib.licenses.free;
|
|
|
|
};
|
2019-10-17 08:34:49 +01:00
|
|
|
}
|