depot/third_party/nixpkgs/pkgs/development/python-modules/sphinxext-opengraph/default.nix
Default email bb584b27e9 Project import generated by Copybara.
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
2022-04-15 03:41:22 +02:00

37 lines
768 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, sphinx
, pytestCheckHook
, beautifulsoup4
}:
buildPythonPackage rec {
pname = "sphinxext-opengraph";
version = "0.6.3";
src = fetchFromGitHub {
owner = "wpilibsuite";
repo = "sphinxext-opengraph";
rev = "v${version}";
sha256 = "sha256-YR6TlsmND5IhLdbPbmtVhRN2vSZfx70g2a6Yn6y6L/M=";
};
propagatedBuildInputs = [
sphinx
];
checkInputs = [
pytestCheckHook
beautifulsoup4
];
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 ];
};
}