presenterm: 0.8.0 -> 0.9.0
Diff: https://github.com/mfontanini/presenterm/compare/refs/tags/v0.8.0...v0.9.0 Changelog: https://github.com/mfontanini/presenterm/releases/tag/v0.9.0
This commit is contained in:
committed by
Gaétan Lepage
parent
ed650ac46c
commit
7ceac112f8
@@ -5,39 +5,45 @@
|
||||
libsixel,
|
||||
stdenv,
|
||||
nix-update-script,
|
||||
testers,
|
||||
presenterm,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "presenterm";
|
||||
version = "0.8.0";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mfontanini";
|
||||
repo = "presenterm";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-sMhowTXPzZcIOV4Ny9NzvgXGsZSPBJGDg9JvuoZoSUc=";
|
||||
hash = "sha256-BFL0Y6v1v15WLSvA5i+l47bR9+1qDHPWSMMuEaLdhPY=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
libsixel
|
||||
];
|
||||
|
||||
cargoHash = "sha256-2aHJnGSuP0TEBMxF1zljbEyk1g6ECTpnByyH8jaj78s=";
|
||||
cargoHash = "sha256-IC72l1xbH/AdCHdcgY8ODv6+YZUmT5NYVisP9oIMpGA=";
|
||||
|
||||
# Crashes at runtime on darwin with:
|
||||
# Library not loaded: .../out/lib/libsixel.1.dylib
|
||||
buildFeatures = lib.optionals (!stdenv.hostPlatform.isDarwin) [ "sixel" ];
|
||||
|
||||
checkFlags = [
|
||||
# failed to load .tmpEeeeaQ: No such file or directory (os error 2)
|
||||
"--skip=external_snippet"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
tests.version = testers.testVersion {
|
||||
package = presenterm;
|
||||
command = "presenterm --version";
|
||||
};
|
||||
};
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
versionCheckProgramArg = [ "--version" ];
|
||||
doInstallCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Terminal based slideshow tool";
|
||||
changelog = "https://github.com/mfontanini/presenterm/releases/tag/v${version}";
|
||||
|
||||
Reference in New Issue
Block a user