zookeeper: Add tests.nixos
This commit is contained in:
parent
555ebb077e
commit
7a30dd25fc
1 changed files with 5 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue