Merge pull request #153540 from NeverBehave/pkgs/novnc

novnc: init at 1.3.0
This commit is contained in:
Anderson Torres 2022-02-10 21:57:35 -03:00 committed by GitHub
commit 74e0d08b3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "novnc";
version = "1.3.0";
src = fetchFromGitHub {
owner = "novnc";
repo = "noVNC";
rev = "v${version}";
sha256 = "sha256-Z+bks7kcwj+Z3uf/t0u25DnGOM60QhSH6uuoIi59jqU=";
};
installPhase = ''
runHook preInstall
install -Dm755 utils/novnc_proxy "$out/bin/novnc"
install -dm755 "$out/share/webapps/novnc/"
cp -a app core po vendor vnc.html karma.conf.js package.json vnc_lite.html "$out/share/webapps/novnc/"
runHook postInstall
'';
meta = with lib; {
description = "VNC client web application";
homepage = "https://novnc.com";
license = with licenses; [ mpl20 ofl bsd3 bsd2 mit ];
maintainers = with maintainers; [ neverbehave ];
};
}

View File

@ -27518,6 +27518,8 @@ with pkgs;
nootka = qt5.callPackage ../applications/audio/nootka { };
nootka-unstable = qt5.callPackage ../applications/audio/nootka/unstable.nix { };
novnc = callPackage ../applications/networking/novnc { };
nwg-drawer = callPackage ../applications/misc/nwg-drawer { };
nwg-launchers = callPackage ../applications/misc/nwg-launchers { };