presenterm: enable image support

This commit is contained in:
Gaetan Lepage
2023-12-06 15:33:54 +01:00
parent 7180edeb22
commit eab201d80d
+12 -2
View File
@@ -1,4 +1,8 @@
{ lib, fetchFromGitHub, rustPlatform }:
{ lib
, fetchFromGitHub
, rustPlatform
, libsixel
}:
rustPlatform.buildRustPackage rec {
pname = "presenterm";
@@ -7,12 +11,18 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "mfontanini";
repo = "presenterm";
rev = "v${version}";
rev = "refs/tags/v${version}";
hash = "sha256-uwLVg/bURz2jLAQZgLujDR2Zewu5pcE9bwEBg/DQ4Iw=";
};
buildInputs = [
libsixel
];
cargoHash = "sha256-tEgXqvSyScO/J/56ykCda3ERrTDQj5jCxlMEDof/fCA=";
buildFeatures = [ "sixel" ];
# Skip test that currently doesn't work
checkFlags = [ "--skip=execute::test::shell_code_execution" ];