From f3525433c8a86c371a9196869bba939a720131e7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 3 Mar 2023 20:06:41 +0100 Subject: [PATCH] python310Packages.amaranth: Fix extra_requires version specifier --- pkgs/development/python-modules/amaranth/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/amaranth/default.nix b/pkgs/development/python-modules/amaranth/default.nix index 3e7aae7f3daa..713f886d7df4 100644 --- a/pkgs/development/python-modules/amaranth/default.nix +++ b/pkgs/development/python-modules/amaranth/default.nix @@ -58,6 +58,7 @@ buildPythonPackage rec { nativeBuildInputs = [ git + setuptools setuptools-scm ]; @@ -79,7 +80,8 @@ buildPythonPackage rec { postPatch = '' substituteInPlace setup.py \ --replace "Jinja2~=2.11" "Jinja2>=2.11" \ - --replace "pyvcd~=0.2.2" "pyvcd" + --replace "pyvcd~=0.2.2" "pyvcd" \ + --replace "amaranth-yosys>=0.10.*" "amaranth-yosys>=0.10" # jinja2.contextfunction was removed in jinja2 v3.1 substituteInPlace amaranth/build/plat.py \