python.pkgs.numpydoc: 0.6.0 -> 0.7.0
This commit is contained in:
parent
05c13dfca1
commit
8cf59a3e14
27
pkgs/development/python-modules/numpydoc/default.nix
Normal file
27
pkgs/development/python-modules/numpydoc/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
@ -11430,25 +11430,7 @@ in {
|
|||||||
blas = pkgs.openblasCompat;
|
blas = pkgs.openblasCompat;
|
||||||
};
|
};
|
||||||
|
|
||||||
numpydoc = buildPythonPackage rec {
|
numpydoc = callPackage ../development/python-modules/numpydoc { };
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
numpy-stl = callPackage ../development/python-modules/numpy-stl { };
|
numpy-stl = callPackage ../development/python-modules/numpy-stl { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user