nixpkgs/pkgs/development/python-modules/numpydoc/default.nix

28 lines
579 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, isPy27
, jinja2
2018-02-18 18:40:53 +00:00
, nose
, pytest
2018-02-18 18:40:53 +00:00
, sphinx
}:
buildPythonPackage rec {
pname = "numpydoc";
2020-08-16 18:31:08 +01:00
version = "1.1.0";
disabled = isPy27;
2018-02-18 18:40:53 +00:00
src = fetchPypi {
inherit pname;
inherit version;
2020-08-16 18:31:08 +01:00
sha256 = "c36fd6cb7ffdc9b4e165a43f67bf6271a7b024d0bb6b00ac468c9e2bfc76448e";
2018-02-18 18:40:53 +00:00
};
checkInputs = [ nose pytest ];
2018-02-18 18:40:53 +00:00
propagatedBuildInputs = [ sphinx jinja2 ];
meta = {
description = "Sphinx extension to support docstrings in Numpy format";
homepage = "https://github.com/numpy/numpydoc";
license = lib.licenses.free;
};
}