nixpkgs/pkgs/development/python-modules/sphinxcontrib-confluencebuilder/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

50 lines
967 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, flit-core
, docutils
, sphinx
, requests
, jinja2
}:
buildPythonPackage rec {
pname = "sphinxcontrib-confluencebuilder";
version = "2.4.0";
format = "pyproject";
src = fetchPypi {
pname = "sphinxcontrib_confluencebuilder";
inherit version;
hash = "sha256-q3+GwMVWMRu4eWwbdXcbPQzpBhBXcZEMFTpbEO+teLk=";
};
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
docutils
sphinx
requests
jinja2
];
# Tests are disabled due to a circular dependency on Sphinx
doCheck = false;
pythonImportsCheck = [
"sphinxcontrib.confluencebuilder"
];
pythonNamespaces = [ "sphinxcontrib" ];
meta = with lib; {
description = "Confluence builder for sphinx";
mainProgram = "sphinx-build-confluence";
homepage = "https://github.com/sphinx-contrib/confluencebuilder";
license = licenses.bsd1;
maintainers = with maintainers; [ graysonhead ];
};
}