7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
33 lines
863 B
Nix
33 lines
863 B
Nix
{ lib, fetchFromGitHub, buildNpmPackage, ArchiSteamFarm }:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "asf-ui";
|
|
version = "1641151b9f430908bc63bbe9927fa8414538e7f1";
|
|
|
|
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-0qfX0vHaDY4Mv9N6nXcn2/9DgRAAl07c8eNHBC3rX6I=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-/DRkzwU32RgXR+58MrD2KbxF55nJJxnMAnU3kafqtXg=";
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir $out
|
|
cp -rv dist/* $out/
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Official web interface for ASF";
|
|
license = licenses.asl20;
|
|
homepage = "https://github.com/JustArchiNET/ASF-ui";
|
|
inherit (ArchiSteamFarm.meta) maintainers platforms;
|
|
};
|
|
}
|