diff options
Diffstat (limited to 'pkgs/servers/homepage-dashboard/default.nix')
-rw-r--r-- | pkgs/servers/homepage-dashboard/default.nix | 39 |
1 files changed, 17 insertions, 22 deletions
diff --git a/pkgs/servers/homepage-dashboard/default.nix b/pkgs/servers/homepage-dashboard/default.nix index af35e6edfe3d2..03fd2a3efe3af 100644 --- a/pkgs/servers/homepage-dashboard/default.nix +++ b/pkgs/servers/homepage-dashboard/default.nix @@ -1,14 +1,15 @@ -{ buildNpmPackage -, fetchFromGitHub -, nodePackages -, python3 -, stdenv -, cctools -, IOKit -, lib -, nixosTests -, enableLocalIcons ? false -, nix-update-script +{ + buildNpmPackage, + fetchFromGitHub, + nodePackages, + python3, + stdenv, + cctools, + IOKit, + lib, + nixosTests, + enableLocalIcons ? false, + nix-update-script, }: let dashboardIcons = fetchFromGitHub { @@ -27,16 +28,16 @@ let in buildNpmPackage rec { pname = "homepage-dashboard"; - version = "0.9.2"; + version = "0.9.6"; src = fetchFromGitHub { owner = "gethomepage"; repo = "homepage"; rev = "v${version}"; - hash = "sha256-4nSlL4m0SL3B7+lI/BGt1aY1UE46la7/4NU4BaJ7EwQ="; + hash = "sha256-jUKXAqq6Oj8CmOuBUlsf0zDIcK+3MX/czzNDmakN9VM="; }; - npmDepsHash = "sha256-jYZUVwrOxoAbfHHSBkN5IlYhC6yZVVwRoZErkbYrjUs="; + npmDepsHash = "sha256-YjcF8FkURnTurcJ0Iq0ghv/bhu5sFA860jXrn3TkRds="; preBuild = '' mkdir -p config @@ -48,15 +49,9 @@ buildNpmPackage rec { patchShebangs .next/standalone/server.js ''; - nativeBuildInputs = lib.optionals stdenv.isDarwin [ - cctools - ]; + nativeBuildInputs = lib.optionals stdenv.isDarwin [ cctools ]; - buildInputs = [ - nodePackages.node-gyp-build - ] ++ lib.optionals stdenv.isDarwin [ - IOKit - ]; + buildInputs = [ nodePackages.node-gyp-build ] ++ lib.optionals stdenv.isDarwin [ IOKit ]; env.PYTHON = "${python3}/bin/python"; |