python3.pkgs.newversion: remove setuptools dependency

This commit is contained in:
Theodore Ni 2023-08-22 23:06:22 -07:00
parent 9ca3487d8b
commit 2b83a56180
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, packaging
, poetry-core
, pytestCheckHook
@ -22,6 +23,15 @@ buildPythonPackage rec {
hash = "sha256-27HWMzSzyAbiOW7OUhlupRWIVJG6DrpXObXmxlCsmxU=";
};
patches = [
# https://github.com/vemel/newversion/pull/9
(fetchpatch {
name = "remove-setuptools-dependency.patch";
url = "https://github.com/vemel/newversion/commit/b50562671029dd6834bc7a8ad0dd3f9e0fbdfc1d.patch";
hash = "sha256-6dXVQ9Hk0/EfSwPbW19ZV8MAFcSx+ZRO5G94kbh23GM=";
})
];
nativeBuildInputs = [
poetry-core
];