Skip to content

Commit 774354e

Browse files
authored
presenterm: 0.11.0 -> 0.12.0 (#392983)
2 parents 2545d69 + 35f5375 commit 774354e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pkgs/by-name/pr/presenterm/package.nix

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@
77
nix-update-script,
88
}:
99

10-
rustPlatform.buildRustPackage rec {
10+
rustPlatform.buildRustPackage (finalAttrs: {
1111
pname = "presenterm";
12-
version = "0.11.0";
12+
version = "0.12.0";
1313

1414
src = fetchFromGitHub {
1515
owner = "mfontanini";
1616
repo = "presenterm";
17-
tag = "v${version}";
18-
hash = "sha256-R2ATN495/sk+EMYs5BBxWk8nLO1ublWKfznn075/V5c=";
17+
tag = "v${finalAttrs.version}";
18+
hash = "sha256-2k1YCzRoXt5Nmn+HH2qkdpP3S3+PJ5OVSVx29nYSdF8=";
1919
};
2020

2121
buildInputs = [
2222
libsixel
2323
];
2424

2525
useFetchCargoVendor = true;
26-
cargoHash = "sha256-XXJGduSiPxlmcUyYp8QbTrPYI6NkoYxFA9cfsWgy1Es=";
26+
cargoHash = "sha256-M9VcwfG6NwUIvOkZKdoh97GVJEivkEmXhlApGQ1Hqds=";
2727

2828
checkFlags = [
2929
# failed to load .tmpEeeeaQ: No such file or directory (os error 2)
@@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec {
3333
nativeInstallCheckInputs = [
3434
versionCheckHook
3535
];
36-
versionCheckProgramArg = [ "--version" ];
36+
versionCheckProgramArg = "--version";
3737
doInstallCheck = true;
3838

3939
passthru = {
@@ -42,10 +42,10 @@ rustPlatform.buildRustPackage rec {
4242

4343
meta = {
4444
description = "Terminal based slideshow tool";
45-
changelog = "https://github.com/mfontanini/presenterm/releases/tag/v${version}";
45+
changelog = "https://github.com/mfontanini/presenterm/releases/tag/v${finalAttrs.version}";
4646
homepage = "https://github.com/mfontanini/presenterm";
4747
license = lib.licenses.bsd2;
4848
maintainers = with lib.maintainers; [ mikaelfangel ];
4949
mainProgram = "presenterm";
5050
};
51-
}
51+
})

0 commit comments

Comments
 (0)