biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / misc / ArchiSteamFarm / web-ui / default.nix
blob8231e831b4fe7d68ad89de947f4cf869f7ed9866
1 { lib, fetchFromGitHub, buildNpmPackage, ArchiSteamFarm }:
3 buildNpmPackage rec {
4   pname = "asf-ui";
5   version = "1641151b9f430908bc63bbe9927fa8414538e7f1";
7   src = fetchFromGitHub {
8     owner = "JustArchiNET";
9     repo = "ASF-ui";
10     # updated by the update script
11     # this is always the commit that should be used with asf-ui from the latest asf version
12     rev = version;
13     hash = "sha256-0qfX0vHaDY4Mv9N6nXcn2/9DgRAAl07c8eNHBC3rX6I=";
14   };
16   npmDepsHash = "sha256-/DRkzwU32RgXR+58MrD2KbxF55nJJxnMAnU3kafqtXg=";
18   installPhase = ''
19     runHook preInstall
21     mkdir $out
22     cp -rv dist/* $out/
24     runHook postInstall
25   '';
27   meta = with lib; {
28     description = "Official web interface for ASF";
29     license = licenses.asl20;
30     homepage = "https://github.com/JustArchiNET/ASF-ui";
31     inherit (ArchiSteamFarm.meta) maintainers platforms;
32   };