pythonPackages.sphinx-pytest: init at 0.0.3
This commit is contained in:
parent
6206c6618b
commit
eafcfbf6e5
2 changed files with 47 additions and 0 deletions
45
pkgs/development/python-modules/sphinx-pytest/default.nix
Normal file
45
pkgs/development/python-modules/sphinx-pytest/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, flit-core
|
||||
, pytest
|
||||
, sphinx
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sphinx-pytest";
|
||||
version = "0.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chrisjsewell";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-vRHPq6BAuhn5QvHG2BGen9v6ezA3RgFVtustsNxU+n8=";
|
||||
};
|
||||
|
||||
format = "flit";
|
||||
|
||||
nativeBuildInputs = [ flit-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
sphinx
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "sphinx_pytest" ];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Helpful pytest fixtures for Sphinx extensions";
|
||||
homepage = "https://github.com/chrisjsewell/sphinx-pytest";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ loicreynier ];
|
||||
};
|
||||
}
|
|
@ -9893,6 +9893,8 @@ in {
|
|||
|
||||
sphinx-better-theme = callPackage ../development/python-modules/sphinx-better-theme { };
|
||||
|
||||
sphinx-pytest = callPackage ../development/python-modules/sphinx-pytest { };
|
||||
|
||||
sphinxcontrib-actdiag = callPackage ../development/python-modules/sphinxcontrib-actdiag { };
|
||||
|
||||
sphinxcontrib-apidoc = callPackage ../development/python-modules/sphinxcontrib-apidoc { };
|
||||
|
|
Loading…
Reference in a new issue