Merge pull request #131945 from Luflosi/add-sphinxext-opengraph
python3Packages.sphinxext-opengraph: init at 0.4.2
This commit is contained in:
commit
185382415c
2 changed files with 34 additions and 0 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue