nixpkgs/pkgs/applications/misc/ArchiSteamFarm/web-ui/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
863 B
Nix
Raw Normal View History

2023-10-18 15:54:16 +00:00
{ lib, fetchFromGitHub, buildNpmPackage, ArchiSteamFarm }:
2021-11-24 15:54:57 +00:00
buildNpmPackage rec {
2023-05-07 18:28:23 +00:00
pname = "asf-ui";
version = "78188871dfce90fb04096e9fd0b6ce2411312dae";
2021-11-24 15:54:57 +00:00
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-NBxN3pQFiDsRYp2Ro0WwWdGzKVjPTKx4/xWQrMNuv0M=";
2021-11-24 15:54:57 +00:00
};
npmDepsHash = "sha256-9pLbSOMfKwkWtzmKNmeKNrgdtzh3riWWJlrbuoDRUrw=";
2021-11-24 15:54:57 +00:00
2023-05-07 18:28:23 +00:00
installPhase = ''
runHook preInstall
2021-11-24 15:54:57 +00:00
2023-05-07 18:28:23 +00:00
mkdir $out
cp -rv dist/* $out/
2021-11-24 15:54:57 +00:00
2023-05-07 18:28:23 +00:00
runHook postInstall
'';
2021-11-24 15:54:57 +00:00
meta = with lib; {
description = "Official web interface for ASF";
license = licenses.asl20;
homepage = "https://github.com/JustArchiNET/ASF-ui";
inherit (ArchiSteamFarm.meta) maintainers platforms;
};
}