From f5acaea134b017a3e9a0b0fa537836b268ae06a3 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Thu, 11 May 2023 09:05:58 -0400 Subject: [PATCH] bump the version of klein in the nix-based builds --- nix/klein.nix | 9 +++++++++ nix/python-overrides.nix | 6 ++++++ 2 files changed, 15 insertions(+) create mode 100644 nix/klein.nix diff --git a/nix/klein.nix b/nix/klein.nix new file mode 100644 index 000000000..be4426465 --- /dev/null +++ b/nix/klein.nix @@ -0,0 +1,9 @@ +{ klein, fetchPypi }: +klein.overrideAttrs (old: rec { + pname = "klein"; + version = "23.5.0"; + src = fetchPypi { + inherit pname version; + sha256 = "sha256-kGkSt6tBDZp/NRICg5w81zoqwHe9AHHIYcMfDu92Aoc="; + }; +}) diff --git a/nix/python-overrides.nix b/nix/python-overrides.nix index 87c42ad58..032b427ae 100644 --- a/nix/python-overrides.nix +++ b/nix/python-overrides.nix @@ -21,6 +21,12 @@ in { pycddl = self.callPackage ./pycddl.nix { }; txi2p = self.callPackage ./txi2p.nix { }; + # Update the version of klein. + klein = self.callPackage ./klein.nix { + # Avoid infinite recursion. + inherit (super) klein; + }; + # collections-extended is currently broken for Python 3.11 in nixpkgs but # we know where a working version lives. collections-extended = self.callPackage ./collections-extended.nix {