1{ lib, buildPythonPackage, fetchPypi, isPy27
2, jinja2
3, nose
4, pytest
5, sphinx
6}:
7
8buildPythonPackage rec {
9 pname = "numpydoc";
10 version = "1.1.0";
11 disabled = isPy27;
12
13 src = fetchPypi {
14 inherit pname;
15 inherit version;
16 sha256 = "c36fd6cb7ffdc9b4e165a43f67bf6271a7b024d0bb6b00ac468c9e2bfc76448e";
17 };
18
19 checkInputs = [ nose pytest ];
20 propagatedBuildInputs = [ sphinx jinja2 ];
21
22 meta = {
23 description = "Sphinx extension to support docstrings in Numpy format";
24 homepage = "https://github.com/numpy/numpydoc";
25 license = lib.licenses.free;
26 };
27}