Unverified Commit 47073544 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python312Packages.humanfriendly: use pep517 builder

parent d6670b9d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -3,12 +3,13 @@
  buildPythonPackage,
  fetchPypi,
  fetchpatch2,
  setuptools,
}:

buildPythonPackage rec {
  pname = "humanfriendly";
  version = "10.0";
  format = "setuptools";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
@@ -23,6 +24,8 @@ buildPythonPackage rec {
    })
  ];

  build-system = [ setuptools ];

  # humanfriendly tests depends on coloredlogs which itself depends on
  # humanfriendly. This lead to infinite recursion when trying to
  # build this package so we have to disable the test suite :(