presenterm: 0.4.1 -> 0.5.0
Diff: https://github.com/mfontanini/presenterm/compare/refs/tags/v0.4.1...v0.5.0 Changelog: https://github.com/mfontanini/presenterm/releases/tag/v0.5.0
This commit is contained in:
parent
2f9a61cad7
commit
b2b16180e2
@ -2,30 +2,38 @@
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, libsixel
|
||||
, testers
|
||||
, presenterm
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "presenterm";
|
||||
version = "0.4.1";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mfontanini";
|
||||
repo = "presenterm";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-OHp/qbuaZ7uVydKGnSiBR5KQGdf8rWQQWRHrka+PI1M=";
|
||||
hash = "sha256-VAcK02dbtuTGn+lPu1vb/wAkroHuHqsU2KYHBiP2Org=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
libsixel
|
||||
];
|
||||
|
||||
cargoHash = "sha256-ymSTloz7sPAtMZN1uDgLs89gMcU+UTsMVc6y5UHt7no=";
|
||||
cargoHash = "sha256-bufFiyqRsn4eG57bKn42p5cyX+Z7oiz/USZvg9YOvHA=";
|
||||
|
||||
buildFeatures = [ "sixel" ];
|
||||
|
||||
# Skip test that currently doesn't work
|
||||
checkFlags = [ "--skip=execute::test::shell_code_execution" ];
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = presenterm;
|
||||
command = "presenterm --version";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A terminal based slideshow tool";
|
||||
changelog = "https://github.com/mfontanini/presenterm/releases/tag/v${version}";
|
||||
@ -33,5 +41,8 @@ rustPlatform.buildRustPackage rec {
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ mikaelfangel ];
|
||||
mainProgram = "presenterm";
|
||||
# Crashes at runtime on darwin with:
|
||||
# Library not loaded: .../out/lib/libsixel.1.dylib
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user