2019-10-17 09:34:49 +02:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, jinja2
|
2018-02-18 19:40:53 +01:00
|
|
|
, nose
|
2019-10-17 09:34:49 +02:00
|
|
|
, pytest
|
2018-02-18 19:40:53 +01:00
|
|
|
, sphinx
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "numpydoc";
|
2019-12-29 10:28:08 +01:00
|
|
|
version = "0.9.2";
|
2018-02-18 19:40:53 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname;
|
|
|
|
inherit version;
|
2019-12-29 10:28:08 +01:00
|
|
|
sha256 = "9140669e6b915f42c6ce7fef704483ba9b0aaa9ac8e425ea89c76fe40478f642";
|
2018-02-18 19:40:53 +01:00
|
|
|
};
|
|
|
|
|
2019-10-17 09:34:49 +02:00
|
|
|
checkInputs = [ nose pytest ];
|
2018-02-18 19:40:53 +01: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 09:34:49 +02:00
|
|
|
}
|