diff options
Diffstat (limited to 'pkgs/by-name/pr/presenterm/package.nix')
-rw-r--r-- | pkgs/by-name/pr/presenterm/package.nix | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/pkgs/by-name/pr/presenterm/package.nix b/pkgs/by-name/pr/presenterm/package.nix index df5342311cd1d..47440166c9157 100644 --- a/pkgs/by-name/pr/presenterm/package.nix +++ b/pkgs/by-name/pr/presenterm/package.nix @@ -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" ]; |