nixpkgs/pkgs/servers/guacamole-client/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
922 B
Nix
Raw Normal View History

2023-06-14 21:05:53 +00:00
{ lib
, stdenvNoCC
, fetchurl
2023-06-16 17:11:59 +00:00
, nixosTests
2023-06-14 21:05:53 +00:00
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "guacamole-client";
2023-08-09 09:49:48 +00:00
version = "1.5.3";
2023-06-14 21:05:53 +00:00
src = fetchurl {
url = "https://archive.apache.org/dist/guacamole/${finalAttrs.version}/binary/guacamole-${finalAttrs.version}.war";
2023-08-09 09:49:48 +00:00
hash = "sha256-FaNObtbPbwP+IPkPZ9LWCXE6ic08syT4nt8edpbm7WE=";
2023-06-14 21:05:53 +00:00
};
dontUnpack = true;
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/webapps
cp $src $out/webapps/guacamole.war
runHook postInstall
'';
2023-06-16 17:11:59 +00:00
passthru.tests = {
inherit (nixosTests) guacamole-client;
};
2023-06-14 21:05:53 +00:00
meta = {
description = "Clientless remote desktop gateway";
homepage = "https://guacamole.apache.org/";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.drupol ];
platforms = [ "x86_64-linux" "i686-linux" ];
sourceProvenance = [
lib.sourceTypes.binaryBytecode
];
};
})