{ lib, fetchFromGitHub, buildNpmPackage, ArchiSteamFarm }: buildNpmPackage rec { pname = "asf-ui"; version = "f70253c96e76fff5c5537c7be57a57de4e273eb8"; 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-hw6M8O486vnWqdO4DqljOoGEevykpxhez3QL745VfIk="; }; npmDepsHash = "sha256-GpGVM9c5yaLHi77qpShm30/uObg1TdLFCIhmFvLEhaU="; 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; }; }