From 0305bd86005e18bbf68361e3b32f2ef914ebefaa Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Tue, 20 Aug 2024 23:50:48 +0200 Subject: [PATCH] cbeams: replaced blessings with blessed --- pkgs/misc/cbeams/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/cbeams/default.nix b/pkgs/misc/cbeams/default.nix index 928b03df09f7..2c473bdf3b03 100644 --- a/pkgs/misc/cbeams/default.nix +++ b/pkgs/misc/cbeams/default.nix @@ -1,4 +1,4 @@ -{ lib, buildPythonApplication, fetchPypi, isPy3k, blessings, docopt }: +{ lib, buildPythonApplication, fetchPypi, isPy3k, blessed, docopt }: buildPythonApplication rec { pname = "cbeams"; @@ -10,7 +10,12 @@ buildPythonApplication rec { sha256 = "1agcjg6kmcyvk834xd2j60mi349qi9iw3dc2vwpd7pqwq1daq3gi"; }; - propagatedBuildInputs = [ blessings docopt ]; + postPatch = '' + substituteInPlace cbeams/terminal.py \ + --replace-fail "blessings" "blessed" + ''; + + propagatedBuildInputs = [ blessed docopt ]; meta = with lib; { homepage = "https://github.com/tartley/cbeams";