depot/third_party/nixpkgs/pkgs/development/python-modules/numpydoc/default.nix
Default email bb584b27e9 Project import generated by Copybara.
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
2022-04-15 03:41:22 +02:00

27 lines
564 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy27
, jinja2
, nose
, pytest
, sphinx
}:
buildPythonPackage rec {
pname = "numpydoc";
version = "1.2";
disabled = isPy27;
src = fetchPypi {
inherit pname;
inherit version;
sha256 = "sha256-DOwjN0DGsSWRMAXRboqZluBgUor8uLfK0/JwZinf1vc=";
};
checkInputs = [ nose pytest ];
propagatedBuildInputs = [ sphinx jinja2 ];
meta = {
description = "Sphinx extension to support docstrings in Numpy format";
homepage = "https://github.com/numpy/numpydoc";
license = lib.licenses.free;
};
}