Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 324ed9d79ac2
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 002a5f9de161
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Nov 16, 2020

  1. Add sphinx autoapi 1.5.1

    karolchmist authored and Jonathan Ringer committed Nov 16, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    bagder Daniel Stenberg
    Copy the full SHA
    002a5f9 View commit details
Showing with 45 additions and 0 deletions.
  1. +43 −0 pkgs/development/python-modules/sphinxcontrib-autoapi/default.nix
  2. +2 −0 pkgs/top-level/python-packages.nix
43 changes: 43 additions & 0 deletions pkgs/development/python-modules/sphinxcontrib-autoapi/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pythonOlder
, astroid
, jinja2
, sphinx
, pyyaml
, unidecode
, mock
, pytest
}:

buildPythonPackage rec {
pname = "sphinx-autoapi";
version = "1.5.1";
disabled = pythonOlder "3.6";

src = fetchPypi {
inherit pname version;
sha256 = "19m9yvlqwaw3b05lbb1vcla38irn4riw2ij0vjmnc2xq4f1qfl2d";
};

propagatedBuildInputs = [ astroid jinja2 pyyaml sphinx unidecode ];

checkInputs = [
mock
pytest
];

checkPhase = ''
pytest
'';

meta = with stdenv.lib; {
homepage = "https://github.com/readthedocs/sphinx-autoapi";
description = "Provides 'autodoc' style documentation";
longDescription = "Sphinx AutoAPI provides 'autodoc' style documentation for multiple programming languages without needing to load, run, or import the project being documented.";
license = licenses.mit;
maintainers = with maintainers; [ karolchmist ];
};

}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -6780,6 +6780,8 @@ in {

sphinxcontrib-applehelp = callPackage ../development/python-modules/sphinxcontrib-applehelp { };

sphinxcontrib-autoapi = callPackage ../development/python-modules/sphinxcontrib-autoapi { };

sphinxcontrib-bibtex = callPackage ../development/python-modules/sphinxcontrib-bibtex { };

sphinxcontrib-blockdiag = callPackage ../development/python-modules/sphinxcontrib-blockdiag { };