diff --git a/pkgs/by-name/as/asciinema-agg/package.nix b/pkgs/by-name/as/asciinema-agg/package.nix index 863a84436d2c..c2fca0f13240 100644 --- a/pkgs/by-name/as/asciinema-agg/package.nix +++ b/pkgs/by-name/as/asciinema-agg/package.nix @@ -1,5 +1,6 @@ { lib, + stdenv, rustPlatform, fetchFromGitHub, versionCheckHook, @@ -7,24 +8,28 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "agg"; - version = "1.7.0"; + version = "1.8.1"; src = fetchFromGitHub { owner = "asciinema"; repo = "agg"; tag = "v${finalAttrs.version}"; - hash = "sha256-6UenPE6mmmvliaIuGdQj/FrlmoJvmBJgfo0hW+uRaxM="; + hash = "sha256-64VyCTGjzey6AHEAfk5V/Qoffe5+sDaDNve54M7tmf4="; }; strictDeps = true; - cargoHash = "sha256-VpbjvrMhzS1zrcMNWBjTLda6o3ea2cwpnEDUouwyp8w="; + cargoHash = "sha256-/WS5nAFKnP/CsU5+Pf5rtNN4LWaXVjlidLzH7DWYds0="; + + __impureHostDeps = lib.optionals stdenv.hostPlatform.isDarwin [ + "/System/Library/Fonts" + ]; doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; meta = { - description = "Command-line tool for generating animated GIF files from asciicast v2 files produced by asciinema terminal recorder"; + description = "Command-line tool for generating animated GIF files from asciicast files produced by asciinema terminal recorder"; homepage = "https://github.com/asciinema/agg"; changelog = "https://github.com/asciinema/agg/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20;