From 9c8ce83ecb898f68dc72934af404b3da971a9f91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rasmus=20Pr=C3=A9centh?= Date: Sat, 20 Nov 2021 21:31:09 +0100 Subject: [PATCH] python3Packages.cozy: rename dependency python-igraph -> igraph --- pkgs/development/python-modules/cozy/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cozy/default.nix b/pkgs/development/python-modules/cozy/default.nix index 8787ca368f1a..d0969e842d52 100644 --- a/pkgs/development/python-modules/cozy/default.nix +++ b/pkgs/development/python-modules/cozy/default.nix @@ -17,9 +17,14 @@ buildPythonPackage { sha256 = "1jhr5gzihj8dkg0yc5dmi081v2isxharl0ph7v2grqj0bwqzl40j"; }; - # Yoink the Z3 dependency name, because our Z3 package doesn't provide it. + # - yoink the Z3 dependency name, because our Z3 package doesn't provide it. + # - remove "dictionaries" version bound + # - patch igraph package name postPatch = '' - sed -i -e '/z3-solver/d' -e 's/^dictionaries.*$/dictionaries/' requirements.txt + sed -i -e '/z3-solver/d' \ + -e 's/^dictionaries.*$/dictionaries/' \ + -e 's/python-igraph/igraph/' \ + requirements.txt ''; # Tests are not correctly set up in the source tree.