Merge pull request #131945 from Luflosi/add-sphinxext-opengraph

python3Packages.sphinxext-opengraph: init at 0.4.2
This commit is contained in:
Sandro 2021-07-29 13:51:02 +00:00 committed by GitHub
commit 185382415c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, sphinx
}:
buildPythonPackage rec {
pname = "sphinxext-opengraph";
version = "0.4.2";
src = fetchFromGitHub {
owner = "wpilibsuite";
repo = "sphinxext-opengraph";
rev = "v${version}";
sha256 = "sha256-978aPtaqUDHcswDdFynzi+IjDYaBmCZDZk+dmDkhajY=";
};
propagatedBuildInputs = [
sphinx
];
doCheck = false; # no tests
pythonImportsCheck = [ "sphinxext.opengraph" ];
meta = with lib; {
description = "Sphinx extension to generate unique OpenGraph metadata";
homepage = "https://github.com/wpilibsuite/sphinxext-opengraph";
license = licenses.mit;
maintainers = with maintainers; [ Luflosi ];
};
}

View File

@ -8286,6 +8286,8 @@ in {
sphinx-testing = callPackage ../development/python-modules/sphinx-testing { };
sphinxext-opengraph = callPackage ../development/python-modules/sphinxext-opengraph { };
spidev = callPackage ../development/python-modules/spidev { };
splinter = callPackage ../development/python-modules/splinter { };