diff --git a/pkgs/servers/nextcloud/notify_push.nix b/pkgs/servers/nextcloud/notify_push.nix index 63bce5c02572..78a121a2e155 100644 --- a/pkgs/servers/nextcloud/notify_push.nix +++ b/pkgs/servers/nextcloud/notify_push.nix @@ -1,26 +1,34 @@ -{ lib, fetchFromGitHub, rustPlatform }: +{ lib +, fetchFromGitHub +, nixosTests +, rustPlatform +}: rustPlatform.buildRustPackage rec { pname = "notify_push"; - version = "0.6.2"; + version = "0.6.3"; src = fetchFromGitHub { owner = "nextcloud"; repo = pname; rev = "v${version}"; - hash = "sha256-YCIXpCNKqdCSvq7CSPSwoPc2gpCnnda8S7I4FzpezMc="; + hash = "sha256-5Vd8fD0nB2POtxDFNVtkJfVEe+O8tjnwlwYosDJjIDA="; }; - cargoHash = "sha256-l6gMz/iJeLl+RLjOiR9U1m6V/rK+RWM84bQiz4jCFtY="; + cargoHash = "sha256-TF4rL7KXsbfYiEOfkKRyr3PCvyocq6tg90OZURZh8f8="; - passthru = { + passthru = rec { test_client = rustPlatform.buildRustPackage { pname = "${pname}-test_client"; inherit src version; buildAndTestSubdir = "test_client"; - cargoHash = "sha256-4jQvlxU3S3twTpiLab8BXC6ZSPSWN6ftK3GzfKnjHSE="; + cargoHash = "sha256-ES0LBKirOUqXOtA9O2KouA+NWisIMoe8XhmnTC8w1cg="; + }; + tests = { + inherit (nixosTests.nextcloud) with-postgresql-and-redis26; + inherit test_client; }; };