summary refs log tree commit diff
path: root/pkgs/development/python-modules/sphinx-argparse/default.nix
blob: f5de476d1096a82222697567d6375987dcce1783 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, sphinx
}:

buildPythonPackage rec {
  pname = "sphinx-argparse";
  version = "0.2.5";

  src = fetchPypi {
    inherit pname version;
    sha256 = "05wc8f5hb3jsg2vh2jf7jsyan8d4i09ifrz2c8fp6f7x1zw9iav0";
  };

  checkInputs = [
    pytest
  ];

  checkPhase = "py.test";

  propagatedBuildInputs = [
    sphinx
  ];

  meta = {
    description = "A sphinx extension that automatically documents argparse commands and options";
    homepage = https://github.com/ribozz/sphinx-argparse;
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ clacke ];
  };
}