poetry2conda: use poetry-core

This commit is contained in:
Robert Schütz 2022-11-29 16:56:10 -08:00 committed by Robert Schütz
parent e0ed66ab21
commit 64f3ba470e

View File

@ -1,5 +1,6 @@
{ lib
, fetchFromGitHub
, fetchpatch
, python3
}:
@ -16,7 +17,15 @@ with python3.pkgs; buildPythonApplication rec {
sha256 = "sha256-UqNoEGgStvqtxhYwExk7wO4SvATaM2kGaFbB5ViJa7U=";
};
nativeBuildInputs = [ poetry ];
patches = [
(fetchpatch {
name = "use-poetry-core.patch";
url = "https://github.com/dojeda/poetry2conda/commit/b127090498c89fbd8bbcbac45d03178a1e1c4219.patch";
hash = "sha256-J26NhVPG1vD/QNXi5irtGW05CYsIYvZNQIi8YvHwCLc=";
})
];
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
poetry-semver