diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-08-09 12:43:33 +0200 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-08-09 12:43:33 +0200 |
commit | f6b85728fb84c4d695a5a9309e231bdfcf27b803 (patch) | |
tree | b19cc611ee04a6aabd555f4383882f2f20b578ed | |
parent | b2e987dd163f7c3ff689856ebf391f557eedb2aa (diff) |
ueberzugpp: 2.8.9 -> 2.9.0
-rw-r--r-- | pkgs/tools/graphics/ueberzugpp/default.nix | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/pkgs/tools/graphics/ueberzugpp/default.nix b/pkgs/tools/graphics/ueberzugpp/default.nix index a840209e652b0..83332d47ae3d3 100644 --- a/pkgs/tools/graphics/ueberzugpp/default.nix +++ b/pkgs/tools/graphics/ueberzugpp/default.nix @@ -30,26 +30,15 @@ stdenv.mkDerivation rec { pname = "ueberzugpp"; - version = "2.8.9"; + version = "2.9.0"; src = fetchFromGitHub { owner = "jstkdng"; repo = "ueberzugpp"; rev = "v${version}"; - hash = "sha256-RW2dKueidFM/RkGfOAorHukGVm1srbuAlyUP/r+JWi0="; + hash = "sha256-n1cSHHPCx6igJmBxAbny7gntZQk4cMb358zx7f2lMi8="; }; - # error: no member named 'ranges' in namespace 'std' - postPatch = lib.optionalString withoutStdRanges '' - for f in src/canvas/chafa.cpp src/canvas/iterm2/iterm2.cpp src/terminal.cpp; do - sed -i "1i #include <range/v3/algorithm/for_each.hpp>" $f - sed -i "2i #include <range/v3/algorithm/reverse.hpp>" $f - substituteInPlace $f \ - --replace "#include <ranges>" "" \ - --replace "std::ranges" "ranges" - done - ''; - strictDeps = true; nativeBuildInputs = [ |