Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
46 lines
987 B
Nix
46 lines
987 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
stdenvNoCC,
|
|
python3,
|
|
uglify-js,
|
|
gitUpdater,
|
|
}:
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
name = "xpra-html5";
|
|
version = "17.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Xpra-org";
|
|
repo = "xpra-html5";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-vmv3L5Fcq1GF/txqHV6pCT530SFKm0RpfGmI4BLGGp0=";
|
|
};
|
|
|
|
buildInputs = [
|
|
python3
|
|
uglify-js
|
|
];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
python $src/setup.py install $out /share/xpra/www /share/xpra/www
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
|
|
|
|
meta = {
|
|
homepage = "https://xpra.org/";
|
|
downloadPage = "https://xpra.org/src/";
|
|
description = "HTML5 client for Xpra";
|
|
changelog = "https://github.com/Xpra-org/xpra-html5/releases/tag/v${finalAttrs.version}";
|
|
platforms = lib.platforms.linux;
|
|
license = lib.licenses.mpl20;
|
|
maintainers = with lib.maintainers; [
|
|
catern
|
|
lucasew
|
|
];
|
|
};
|
|
})
|