python.pkgs.numpydoc: 0.6.0 -> 0.7.0

This commit is contained in:
Frederik Rietdijk 2018-02-18 19:40:53 +01:00
parent 05c13dfca1
commit 8cf59a3e14
2 changed files with 28 additions and 19 deletions

View File

@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchPypi
, nose
, sphinx
, jinja2
}:
buildPythonPackage rec {
pname = "numpydoc";
version = "0.7.0";
src = fetchPypi {
inherit pname;
inherit version;
sha256 = "2dc7b2c4e3914745e38e370946fa4c109817331e6d450806285c08bce5cd575a";
};
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;
};
}

View File

@ -11430,25 +11430,7 @@ in {
blas = pkgs.openblasCompat;
};
numpydoc = buildPythonPackage rec {
pname = "numpydoc";
name = "${pname}-${version}";
version = "0.6.0";
src = pkgs.fetchurl {
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
sha256 = "1ec573e91f6d868a9940d90a6599f3e834a2d6c064030fbe078d922ee21dcfa1";
};
buildInputs = [ self.nose ];
propagatedBuildInputs = [ self.sphinx self.matplotlib ];
meta = {
description = "Sphinx extension to support docstrings in Numpy format";
homepage = "https://github.com/numpy/numpydoc";
license = licenses.free;
};
};
numpydoc = callPackage ../development/python-modules/numpydoc { };
numpy-stl = callPackage ../development/python-modules/numpy-stl { };