python311Packages.gitlike-commands: add patch to replace distutils

This commit is contained in:
Fabian Affolter 2024-01-25 22:54:36 +01:00
parent 8433938f9b
commit 60c32585c5

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, poetry-core
, pythonOlder
}:
@ -19,6 +20,15 @@ buildPythonPackage rec {
hash = "sha256-VjweN4gigzCNvg6TccZx2Xw1p7SusKplxUTZjItTQc0=";
};
patches = [
# Replace distutils, https://github.com/unixorn/gitlike-commands/pull/8
(fetchpatch {
name = "replace-distutils.patch";
url = "https://github.com/unixorn/gitlike-commands/commit/8a97206aff50a25ac6860032aa03925899c3d0aa.patch";
hash = "sha256-a2utKbf9vrQlYlPcdj/+OAqWf7VkuC5kvbJ53SK52IA=";
})
];
nativeBuildInputs = [
poetry-core
];