python312Packages.sphinxcontrib-confluencebuilder: refactor
This commit is contained in:
@@ -1,18 +1,21 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
docutils,
|
||||
fetchPypi,
|
||||
flit-core,
|
||||
docutils,
|
||||
sphinx,
|
||||
requests,
|
||||
jinja2,
|
||||
pythonOlder,
|
||||
requests,
|
||||
sphinx,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sphinxcontrib-confluencebuilder";
|
||||
version = "2.6.1";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "sphinxcontrib_confluencebuilder";
|
||||
@@ -20,9 +23,9 @@ buildPythonPackage rec {
|
||||
hash = "sha256-9ymYfxL50ZDGlLzo2LXiBnuo2svWxnl37H/c6ENACjA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ flit-core ];
|
||||
build-system = [ flit-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
docutils
|
||||
sphinx
|
||||
requests
|
||||
@@ -38,9 +41,10 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Confluence builder for sphinx";
|
||||
mainProgram = "sphinx-build-confluence";
|
||||
homepage = "https://github.com/sphinx-contrib/confluencebuilder";
|
||||
changelog = "https://github.com/sphinx-contrib/confluencebuilder/blob/v${version}/CHANGES.rst";
|
||||
license = licenses.bsd1;
|
||||
maintainers = with maintainers; [ graysonhead ];
|
||||
mainProgram = "sphinx-build-confluence";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user