plantuml-server: migrate to pkgs/by-name, format with nixfmt-rfc-style

This commit is contained in:
Anthony ROUSSEL
2024-09-22 16:38:29 +02:00
parent 3ad1fa85df
commit 8078f7fda8
2 changed files with 11 additions and 9 deletions

View File

@@ -1,18 +1,22 @@
{ lib, stdenv, fetchurl, nixosTests }:
{
lib,
stdenv,
fetchurl,
nixosTests,
}:
let
version = "1.2024.7";
in
stdenv.mkDerivation rec {
pname = "plantuml-server";
inherit version;
version = "1.2024.7";
src = fetchurl {
url = "https://github.com/plantuml/plantuml-server/releases/download/v${version}/plantuml-v${version}.war";
sha256 = "sha256-9YTclV+FoiNbcpeNtlbbozqjB1BN9EJn03CzyHDbC+8=";
hash = "sha256-9YTclV+FoiNbcpeNtlbbozqjB1BN9EJn03CzyHDbC+8=";
};
dontUnpack = true;
installPhase = ''
postInstall = ''
mkdir -p "$out/webapps"
cp "$src" "$out/webapps/plantuml.war"
'';

View File

@@ -11319,8 +11319,6 @@ with pkgs;
pk2cmd = callPackage ../tools/misc/pk2cmd { };
plantuml-server = callPackage ../tools/misc/plantuml-server { };
plan9port = darwin.apple_sdk_11_0.callPackage ../tools/system/plan9port {
inherit (darwin.apple_sdk_11_0.frameworks) Carbon Cocoa IOKit Metal QuartzCore;
inherit (darwin) DarwinTools;