diff --git a/pkgs/by-name/pr/presenterm/package.nix b/pkgs/by-name/pr/presenterm/package.nix index 5e7e767fef595..d2915f4f8a135 100644 --- a/pkgs/by-name/pr/presenterm/package.nix +++ b/pkgs/by-name/pr/presenterm/package.nix @@ -2,46 +2,47 @@ , fetchFromGitHub , rustPlatform , libsixel +, stdenv +, nix-update-script , testers , presenterm -, stdenv }: rustPlatform.buildRustPackage rec { pname = "presenterm"; - version = "0.7.0"; + version = "0.8.0"; src = fetchFromGitHub { owner = "mfontanini"; repo = "presenterm"; rev = "refs/tags/v${version}"; - hash = "sha256-I5L+Wygj9ApQu/5fm55okwNbyxOiF++7BDl765MLnjY="; + hash = "sha256-sMhowTXPzZcIOV4Ny9NzvgXGsZSPBJGDg9JvuoZoSUc="; }; buildInputs = [ libsixel ]; - cargoHash = "sha256-w1uXCH8Ybf78EPTIKrhPlPHAnNBp1iiBpFJHY98IPWY="; + cargoHash = "sha256-2aHJnGSuP0TEBMxF1zljbEyk1g6ECTpnByyH8jaj78s="; # Crashes at runtime on darwin with: # Library not loaded: .../out/lib/libsixel.1.dylib buildFeatures = lib.optionals (!stdenv.isDarwin) [ "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"; + passthru = { + updateScript = nix-update-script { }; + tests.version = testers.testVersion { + package = presenterm; + command = "presenterm --version"; + }; }; - meta = with lib; { + meta = { description = "Terminal based slideshow tool"; changelog = "https://github.com/mfontanini/presenterm/releases/tag/v${version}"; homepage = "https://github.com/mfontanini/presenterm"; - license = licenses.bsd2; - maintainers = with maintainers; [ mikaelfangel ]; + license = lib.licenses.bsd2; + maintainers = with lib.maintainers; [ mikaelfangel ]; mainProgram = "presenterm"; }; }