summary refs log tree commit diff
path: root/pkgs/applications/misc/ArchiSteamFarm/default.nix
diff options
context:
space:
mode:
authorlegendofmiracles <legendofmiracles@protonmail.com>2021-12-04 08:15:04 -0600
committerlegendofmiracles <legendofmiracles@protonmail.com>2022-01-05 14:09:24 -0600
commit86f45c7c6f8223e6a414139c322b6221fbe50314 (patch)
tree50aecaf1c795f9727b14df590e041e08c67c7f11 /pkgs/applications/misc/ArchiSteamFarm/default.nix
parent4b513af50111de7cd24c246cd2de776e9b0681aa (diff)
downloadnixpkgs-86f45c7c6f8223e6a414139c322b6221fbe50314.tar
nixpkgs-86f45c7c6f8223e6a414139c322b6221fbe50314.tar.gz
nixpkgs-86f45c7c6f8223e6a414139c322b6221fbe50314.tar.bz2
nixpkgs-86f45c7c6f8223e6a414139c322b6221fbe50314.tar.lz
nixpkgs-86f45c7c6f8223e6a414139c322b6221fbe50314.tar.xz
nixpkgs-86f45c7c6f8223e6a414139c322b6221fbe50314.tar.zst
nixpkgs-86f45c7c6f8223e6a414139c322b6221fbe50314.zip
ArchiSteamFarm: 5.2.0.9 -> 5.2.0.10; ASF-ui: update
Diffstat (limited to 'pkgs/applications/misc/ArchiSteamFarm/default.nix')
-rw-r--r--pkgs/applications/misc/ArchiSteamFarm/default.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/applications/misc/ArchiSteamFarm/default.nix b/pkgs/applications/misc/ArchiSteamFarm/default.nix
index a1b5aaa0dd4..349ced1ccd0 100644
--- a/pkgs/applications/misc/ArchiSteamFarm/default.nix
+++ b/pkgs/applications/misc/ArchiSteamFarm/default.nix
@@ -5,18 +5,18 @@
 , libkrb5
 , zlib
 , openssl
-, fetchpatch
+, callPackage
 }:
 
 buildDotnetModule rec {
   pname = "archisteamfarm";
-  version = "5.2.0.9";
+  version = "5.2.0.10";
 
   src = fetchFromGitHub {
     owner = "justarchinet";
     repo = pname;
     rev = version;
-    sha256 = "sha256-BGd75l/p2rvRR/S8uz25aFws8txBpd60iB0xPbfTngM=";
+    sha256 = "sha256-okI58EpzKPd9IfC0K687inscmhO74vMeq8crEF/Xj3k=";
   };
 
   dotnet-runtime = dotnetCorePackages.aspnetcore_6_0;
@@ -34,12 +34,15 @@ buildDotnetModule rec {
   preInstall = ''
     # A mutable path, with this directory tree must be set. By default, this would point at the nix store causing errors.
     makeWrapperArgs+=(
-      --run "mkdir -p \"~/.config/archisteamfarm/{config,logs,plugins}\""
+      --run 'mkdir -p ~/.config/archisteamfarm/{config,logs,plugins}'
       --set "ASF_PATH" "~/.config/archisteamfarm"
     )
   '';
 
-  passthru.updateScript = ./updater.sh;
+  passthru = {
+    updateScript = ./updater.sh;
+    ui = callPackage ./web-ui { };
+  };
 
   meta = with lib; {
     description = "Application with primary purpose of idling Steam cards from multiple accounts simultaneously";