depot/third_party/nixpkgs/pkgs/servers/web-apps/kasmweb/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

36 lines
723 B
Nix

{ stdenv
, lib
, fetchzip
}:
stdenv.mkDerivation rec {
pname = "kasmweb";
version = "1.15.0";
build = "06fdc8";
src = fetchzip {
url = "https://kasm-static-content.s3.amazonaws.com/kasm_release_${version}.${build}.tar.gz";
sha256 = "sha256-7z5lc4QEpQQdVGMEMc04wXlJTK5VXJ4rufZmDEflJLw=";
};
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir $out
rm bin/utils/yq*
cp -r bin conf www $out/
runHook postInstall
'';
meta = with lib; {
homepage = "https://www.kasmweb.com/";
description = "Streaming containerized apps and desktops to end-users";
license = licenses.unfree;
maintainers = with maintainers; [ s1341 ];
};
}