depot/third_party/nixpkgs/pkgs/development/python-modules/sphinx-argparse/default.nix
Default email 88abffb7d2 Project import generated by Copybara.
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
2021-09-18 12:52:07 +02:00

33 lines
639 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, sphinx
}:
buildPythonPackage rec {
pname = "sphinx-argparse";
version = "0.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "82151cbd43ccec94a1530155f4ad34f251aaca6a0ffd5516d7fadf952d32dc1e";
};
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 ];
};
}