33 lines
863 B
Nix
33 lines
863 B
Nix
{ lib, fetchFromGitHub, buildNpmPackage, ArchiSteamFarm }:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "asf-ui";
|
|
version = "7c5eb33a79736ca57acff776af4bd88816773247";
|
|
|
|
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-oOeXyhDnW2jeKGssxzgMIQElkH1uT5IALiXwxUg1ETQ=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-nofLj2PaL+A/M6F6vteh4SmONmsQ5kLPOZ/jxokubgU=";
|
|
|
|
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;
|
|
};
|
|
}
|