presenterm: Drop Sixel dependency (#491385)

This commit is contained in:
Gaétan Lepage
2026-03-08 17:53:02 +00:00
committed by GitHub
-11
View File
@@ -5,7 +5,6 @@
fetchFromGitHub,
makeBinaryWrapper,
lld,
libsixel,
versionCheckHook,
nix-update-script,
}:
@@ -31,10 +30,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
lld
];
buildInputs = [
libsixel
];
cargoHash = "sha256-OlZXf8Wg32mXGDGbavLVf1ELoqqSmc8z9DNpvGOfAJ8=";
env = lib.optionalAttrs (isDarwin && isx86_64) {
@@ -46,12 +41,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
"--skip=external_snippet"
];
# sixel-sys is dynamically linked to libsixel
postInstall = lib.optionalString isDarwin ''
wrapProgram $out/bin/presenterm \
--prefix DYLD_LIBRARY_PATH : "${lib.makeLibraryPath [ libsixel ]}"
'';
nativeInstallCheckInputs = [
versionCheckHook
];