solr: specify NixOS test
This commit is contained in:
parent
acd9e87ebe
commit
19185c54ad
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, jre, makeWrapper }:
|
{ stdenv, fetchurl, jre, makeWrapper, nixosTests }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "solr";
|
pname = "solr";
|
||||||
|
@ -24,6 +24,10 @@ stdenv.mkDerivation rec {
|
||||||
wrapProgram $out/bin/post --set JAVA_HOME "${jre}"
|
wrapProgram $out/bin/post --set JAVA_HOME "${jre}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
inherit (nixosTests) solr;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://lucene.apache.org/solr/";
|
homepage = "https://lucene.apache.org/solr/";
|
||||||
description = "Open source enterprise search platform from the Apache Lucene project";
|
description = "Open source enterprise search platform from the Apache Lucene project";
|
||||||
|
|
Loading…
Reference in New Issue