{ lib, fetchFromGitHub, buildNpmPackage, ArchiSteamFarm }: buildNpmPackage rec { pname = "asf-ui"; version = "7406f7126a8351db67aad9f3a0f90c9dc123d80d"; src = fetchFromGitHub { owner = "JustArchiNET"; repo = "ASF-ui"; # updated by the update script # this is always the commit that should be used with asf-ui from the latest asf version rev = version; hash = "sha256-yTBJoihDc4z4+a03S56MQORvz/l6aqBDzLEi0UrM1N4="; }; npmDepsHash = "sha256-S/OwjmfAyEVZfWQ7vqKFctbJRqED0HVJlWEGXrqB1Ys="; installPhase = '' runHook preInstall mkdir $out cp -rv dist/* $out/ runHook postInstall ''; meta = with lib; { description = "The official web interface for ASF"; license = licenses.asl20; homepage = "https://github.com/JustArchiNET/ASF-ui"; inherit (ArchiSteamFarm.meta) maintainers platforms; }; }