Commit 596e44da authored by Tadas Barzdzius's avatar Tadas Barzdzius
Browse files

poetryPlugins.poetry-plugin-export: add upstream patch to build with poetry 2.1.1

parent 16658528
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch,
  poetry,
  poetry-core,
  pytest-mock,
@@ -21,6 +22,18 @@ buildPythonPackage rec {
    hash = "sha256-AP3/njzbLEi2s4pOUSLLLzqNprvxwLe9LSY7qh08EWc=";
  };

  patches = [
    # Remove after next release of poetry-plugin-export
    (fetchpatch {
      url = "https://github.com/python-poetry/poetry-plugin-export/commit/16637f194e86708913ec6e09064c713eb0715bb6.patch";
      includes = [
        "tests/test_exporter.py"
        "tests/markers.py"
      ];
      hash = "sha256-ncz9kqp18+yeRXlhmLEcWfO1bDavjohhmVw6DwTy1hA=";
    })
  ];

  build-system = [
    poetry-core
  ];