plantuml-server: add nixosTest to passthru.tests

This commit is contained in:
Anthony Roussel
2023-11-15 15:12:57 +01:00
parent 2b455c1649
commit b7851eed07
+5 -1
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenv, fetchurl, nixosTests }:
let
version = "1.2023.12";
@@ -17,6 +17,10 @@ stdenv.mkDerivation rec {
cp "$src" "$out/webapps/plantuml.war"
'';
passthru.tests = {
inherit (nixosTests) plantuml-server;
};
meta = with lib; {
description = "A web application to generate UML diagrams on-the-fly.";
homepage = "https://plantuml.com/";