12 buildPythonPackage rec {
13 pname = "sphinxext-opengraph";
15 format = "setuptools";
17 disabled = pythonOlder "3.8";
19 src = fetchFromGitHub {
20 owner = "wpilibsuite";
21 repo = "sphinxext-opengraph";
22 rev = "refs/tags/v${version}";
23 hash = "sha256-ZLIxbFgayG+WVvSXu74eZJ/PbSHg6dzkkIr1OBry4DE=";
26 SETUPTOOLS_SCM_PRETEND_VERSION = version;
32 passthru.optional-dependencies = {
33 social_cards_generation = [
38 propagatedBuildInputs = [
45 ] ++ passthru.optional-dependencies.social_cards_generation;
47 pythonImportsCheck = [ "sphinxext.opengraph" ];
50 description = "Sphinx extension to generate unique OpenGraph metadata";
51 homepage = "https://github.com/wpilibsuite/sphinxext-opengraph";
52 changelog = "https://github.com/wpilibsuite/sphinxext-opengraph/releases/tag/v${version}";
53 license = licenses.mit;
54 maintainers = with maintainers; [ Luflosi ];