solr: specify NixOS test

This commit is contained in:
Aaron Andersen 2020-01-18 08:55:40 -05:00
parent acd9e87ebe
commit 19185c54ad
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, jre, makeWrapper }:
{ stdenv, fetchurl, jre, makeWrapper, nixosTests }:
stdenv.mkDerivation rec {
pname = "solr";
@ -24,6 +24,10 @@ stdenv.mkDerivation rec {
wrapProgram $out/bin/post --set JAVA_HOME "${jre}"
'';
passthru.tests = {
inherit (nixosTests) solr;
};
meta = with stdenv.lib; {
homepage = "https://lucene.apache.org/solr/";
description = "Open source enterprise search platform from the Apache Lucene project";