Unverified Commit fb01c4ce authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python3Packages.sphinx{ext-opengraph,-redirects} : switch to pyproject &...

python3Packages.sphinx{ext-opengraph,-redirects} : switch to pyproject & flit-core to fix build (#436106)
parents cab89503 498d03f9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  flit-core,
  sphinx,
}:

@@ -18,7 +18,7 @@ buildPythonPackage rec {
  };

  build-system = [
    setuptools
    flit-core
  ];

  dependencies = [
+3 −3
Original line number Diff line number Diff line
@@ -7,13 +7,13 @@
  pytestCheckHook,
  pythonOlder,
  beautifulsoup4,
  setuptools-scm,
  flit-core,
}:

buildPythonPackage rec {
  pname = "sphinxext-opengraph";
  version = "0.12.0";
  format = "setuptools";
  pyproject = true;

  disabled = pythonOlder "3.8";

@@ -24,7 +24,7 @@ buildPythonPackage rec {
    hash = "sha256-2ch9BxgrqbfIJ8fzFKYscha4+G7OAVz+OIOqYwX2gSA=";
  };

  nativeBuildInputs = [ setuptools-scm ];
  build-system = [ flit-core ];

  optional-dependencies = {
    social_cards_generation = [ matplotlib ];