Commit 4af24f80 authored by Robert Schütz's avatar Robert Schütz Committed by Robert Schütz
Browse files

python310Packages.pipenv-poetry-migrate: use poetry-core

parent 1f17c129
Loading
Loading
Loading
Loading
+16 −5
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pytestCheckHook
, pythonOlder
, poetry
, poetry-core
, tomlkit
, typer
, setuptools
}:
@@ -21,12 +23,21 @@ buildPythonPackage rec {
    hash = "sha256-aP8bzWFUzAZrEsz8pYL2y5c7GaUjWG5GA+cc4/tGPZk=";
  };

  patches = [
    (fetchpatch {
      name = "use-poetry-core.patch";
      url = "https://github.com/yhino/pipenv-poetry-migrate/commit/726ebd823bf6ef982992085bd04e41d178775b98.patch";
      hash = "sha256-TBVH1MZA0O1/2zLpVgNckLaP4JO3wIJJi0Nst726erk=";
    })
  ];

  nativeBuildInputs = [
    setuptools
    poetry-core
  ];

  propagatedBuildInputs = [
    poetry
    setuptools # for pkg_resources
    tomlkit
    typer
  ];