From bdf7a09f1b1c26e8385a84af31e711b275ed45c9 Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Sat, 5 Apr 2025 11:13:33 +0200 Subject: [PATCH] python312Packages.dist-meta: fix build --- .../development/python-modules/dist-meta/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/dist-meta/default.nix b/pkgs/development/python-modules/dist-meta/default.nix index e16025f1f64e..f13ee43c6e11 100644 --- a/pkgs/development/python-modules/dist-meta/default.nix +++ b/pkgs/development/python-modules/dist-meta/default.nix @@ -5,6 +5,8 @@ setuptools, domdf-python-tools, handy-archives, + hatchling, + hatch-requirements-txt, packaging, }: buildPythonPackage rec { @@ -13,7 +15,8 @@ buildPythonPackage rec { pyproject = true; src = fetchPypi { - inherit pname version; + pname = "dist_meta"; + inherit version; hash = "sha256-+hbr1VdHRKCVlqs0IIOhHXIJ2NBc8yiR0cmFvn7Ay9c="; }; @@ -22,14 +25,11 @@ buildPythonPackage rec { dependencies = [ domdf-python-tools handy-archives + hatchling + hatch-requirements-txt packaging ]; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail '"setuptools!=61.*,<=67.1.0,>=40.6.0"' '"setuptools"' - ''; - meta = { description = "Parse and create Python distribution metadata."; homepage = "https://github.com/repo-helper/dist-meta";