Skip to content

Commit d1f23d1

Browse files
committed
tsukimi: 0.19.4 -> 0.20.0, add versionCheckHook
1 parent a84ebe2 commit d1f23d1

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

pkgs/by-name/ts/tsukimi/package.nix

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,22 @@
1818
cargo,
1919
dbus,
2020
desktop-file-utils,
21+
versionCheckHook,
2122
}:
2223
stdenv.mkDerivation rec {
2324
pname = "tsukimi";
24-
version = "0.19.4";
25+
version = "0.20.0";
2526

2627
src = fetchFromGitHub {
2728
owner = "tsukinaha";
2829
repo = "tsukimi";
2930
tag = "v${version}";
30-
hash = "sha256-7Us+mz0FHetka4uVDCWkAGyGMZRhQDotRsySljYZgCo=";
31+
hash = "sha256-OxRxl/+JP3eqxc5b0pb6QbAAHrZgHrq1cawas2UrUro=";
3132
};
3233

3334
cargoDeps = rustPlatform.fetchCargoVendor {
3435
inherit src;
35-
hash = "sha256-JaBFL7XHVjf4NP41n9qtb5oQyaP1bYQETPYMCR9XEvQ=";
36+
hash = "sha256-kt3otu5N3KAzJT992v80Mbgr0sOoPnonc1+pu5ANIxE=";
3637
};
3738

3839
nativeBuildInputs = [
@@ -64,7 +65,9 @@ stdenv.mkDerivation rec {
6465
gst-libav
6566
]);
6667

67-
doCheck = false; # tests require networking
68+
nativeInstallCheckInputs = [ versionCheckHook ];
69+
versionCheckProgramArg = [ "--version" ];
70+
doInstallCheck = true;
6871

6972
passthru.updateScript = nix-update-script { };
7073

0 commit comments

Comments
 (0)