python3Packages.sphinx-issues: 3.0.1 -> 5.0.1
This commit was automatically generated using update-python-libraries.
This commit is contained in:
@@ -1,24 +1,35 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
sphinx,
|
||||
fetchFromGitHub,
|
||||
flit-core,
|
||||
pytestCheckHook,
|
||||
sphinx,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "sphinx-issues";
|
||||
version = "3.0.1";
|
||||
format = "setuptools";
|
||||
version = "5.0.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sloria";
|
||||
repo = "sphinx-issues";
|
||||
rev = version;
|
||||
sha256 = "1lns6isq9kwcw8z4jwgy927f7idx9srvri5adaa5zmypw5x47hha";
|
||||
tag = version;
|
||||
hash = "sha256-/nc5gtZbE1ziMPWIkZTkevMfVkNtJYL/b5QLDeMhzUs=";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "sphinx_issues" ];
|
||||
postPatch = ''
|
||||
substituteInPlace tests/test_sphinx_issues.py \
|
||||
--replace-fail 'Path(sys.executable).parent.joinpath("sphinx-build")' '"${lib.getExe' sphinx "sphinx-build"}"'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ sphinx ];
|
||||
build-system = [ flit-core ];
|
||||
|
||||
dependencies = [ sphinx ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "sphinx_issues" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/sloria/sphinx-issues";
|
||||
|
||||
Reference in New Issue
Block a user