From 230dd7418636a315aed49fa70fea6f41827115f8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 12 Mar 2023 19:59:41 +0100 Subject: [PATCH] python310Packages.reqif: Build with hatchling --- pkgs/development/python-modules/reqif/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/reqif/default.nix b/pkgs/development/python-modules/reqif/default.nix index 482ddc4177d5..12357587b908 100644 --- a/pkgs/development/python-modules/reqif/default.nix +++ b/pkgs/development/python-modules/reqif/default.nix @@ -2,7 +2,7 @@ , buildPythonPackage , python , fetchFromGitHub -, poetry-core +, hatchling , beautifulsoup4 , lxml , jinja2 @@ -25,12 +25,11 @@ buildPythonPackage rec { substituteInPlace ./tests/unit/conftest.py --replace \ "os.path.abspath(os.path.join(__file__, \"../../../../reqif\"))" \ "\"${placeholder "out"}/${python.sitePackages}/reqif\"" - substituteInPlace pyproject.toml --replace "^" ">=" substituteInPlace requirements.txt --replace "==" ">=" ''; nativeBuildInputs = [ - poetry-core + hatchling ]; propagatedBuildInputs = [