zookeeper: Add tests.nixos

This commit is contained in:
Robert Hensing 2021-11-17 16:11:08 +01:00
parent 555ebb077e
commit 7a30dd25fc

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, jdk11_headless, makeWrapper, bash, coreutils }:
{ lib, stdenv, fetchurl, jdk11_headless, makeWrapper, nixosTests, bash, coreutils }:
let
# Latest supported LTS JDK for Zookeeper 3.6:
# https://zookeeper.apache.org/doc/r3.6.3/zookeeperAdmin.html#sc_requiredSoftware
@ -37,6 +37,10 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru.tests = {
nixos = nixosTests.zookeeper;
};
meta = with lib; {
homepage = "https://zookeeper.apache.org";
description = "Apache Zookeeper";