mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
37 lines
723 B
Nix
37 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 ];
|
|
};
|
|
}
|