about summary refs log tree commit diff
path: root/pkgs/applications/misc/ArchiSteamFarm/web-ui/default.nix
diff options
context:
space:
mode:
authorSandro Jäckel2022-07-07 15:12:26 +0200
committerSandro Jäckel2022-07-07 15:12:26 +0200
commit8f62002673be953cc8175c290ac9260baca8c20f (patch)
tree3e81db570ae1a807f02c2f707584ade76f3f5667 /pkgs/applications/misc/ArchiSteamFarm/web-ui/default.nix
parentc96e95f5867919431021211a45b48747b4028bca (diff)
archisteamfarm.ui: format, inherit maintainers from asf, too
Diffstat (limited to 'pkgs/applications/misc/ArchiSteamFarm/web-ui/default.nix')
-rw-r--r--pkgs/applications/misc/ArchiSteamFarm/web-ui/default.nix37
1 files changed, 18 insertions, 19 deletions
diff --git a/pkgs/applications/misc/ArchiSteamFarm/web-ui/default.nix b/pkgs/applications/misc/ArchiSteamFarm/web-ui/default.nix
index 997ec7ffadf6..260035bf11e8 100644
--- a/pkgs/applications/misc/ArchiSteamFarm/web-ui/default.nix
+++ b/pkgs/applications/misc/ArchiSteamFarm/web-ui/default.nix
@@ -16,26 +16,25 @@ let
   };
 
 in
-  nodePackages.package.override {
-    inherit src;
+nodePackages.package.override {
+  inherit src;
 
-    # upstream isn't tagged, but we are using the latest official commit for that specific asf version (assuming both get updated at the same time)
-    version = ArchiSteamFarm.version;
+  # upstream isn't tagged, but we are using the latest official commit for that specific asf version (assuming both get updated at the same time)
+  version = ArchiSteamFarm.version;
 
-    nativeBuildInputs = [ pkgs.nodePackages.node-gyp-build ];
+  nativeBuildInputs = [ pkgs.nodePackages.node-gyp-build ];
 
-    postInstall = ''
-      patchShebangs node_modules/
-      npm run build
-      cp -r $out/lib/node_modules/asf-ui/dist $out/lib/dist
-      rm -rf $out/lib/node_modules/
-    '';
+  postInstall = ''
+    patchShebangs node_modules/
+    npm run build
+    cp -r $out/lib/node_modules/asf-ui/dist $out/lib/dist
+    rm -rf $out/lib/node_modules/
+  '';
 
-    meta = with lib; {
-      description = "The official web interface for ASF";
-      license = licenses.apsl20;
-      homepage = "https://github.com/JustArchiNET/ASF-ui";
-      platforms = ArchiSteamFarm.meta.platforms;
-      maintainers = with maintainers; [ lom ];
-    };
-  }
+  meta = with lib; {
+    description = "The official web interface for ASF";
+    license = licenses.apsl20;
+    homepage = "https://github.com/JustArchiNET/ASF-ui";
+    inherit (ArchiSteamFarm.meta) maintainers platforms;
+  };
+}