From 0fc50aecd97a77fe77221e95fd09393a77c38531 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sun, 13 Aug 2023 23:47:39 -0700 Subject: [PATCH] python3.pkgs.socksio: unpin flit-core dependency (#248943) --- pkgs/development/python-modules/socksio/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/python-modules/socksio/default.nix b/pkgs/development/python-modules/socksio/default.nix index ad0e8e2e6c07..fb767db631d8 100644 --- a/pkgs/development/python-modules/socksio/default.nix +++ b/pkgs/development/python-modules/socksio/default.nix @@ -1,5 +1,6 @@ { lib , buildPythonPackage +, fetchpatch , fetchPypi , pythonAtLeast , flit-core @@ -19,6 +20,15 @@ buildPythonPackage { hash = "sha256-+IvrPaW1w4uYkEad5n0MsPnUlLeLEGyhhF+WwQuRxKw="; }; + patches = [ + # https://github.com/sethmlarson/socksio/pull/61 + (fetchpatch { + name = "unpin-flit-core.patch"; + url = "https://github.com/sethmlarson/socksio/commit/5c50fd76e7459bb822ff8f712172a78e21b8dd04.patch"; + hash = "sha256-VVUzFvF2KCXXkCfCU5xu9acT6OLr+PlQQPeVGONtU4A="; + }) + ]; + nativeBuildInputs = [ flit-core ];