1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

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 { };