2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
33 lines
867 B
Nix
33 lines
867 B
Nix
{ lib, fetchFromGitHub, buildNpmPackage, ArchiSteamFarm }:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "asf-ui";
|
|
version = "fceb2fb828cfa420c77dc5cde433fd519a6717d4";
|
|
|
|
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-gMQWly7HN5rIV9r72Qa+gHuBuQMs9sh09od4ja4sRGU=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-UDCQTRpcPDcuvPzlqTu315EkGr5G0+z7qMSsPgYQacA=";
|
|
|
|
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;
|
|
};
|
|
}
|