1 { buildGoModule, buildNpmPackage, fetchFromGitHub, lib }:
4 frontend = buildNpmPackage rec {
5 pname = "filebrowser-frontend";
8 src = fetchFromGitHub {
12 hash = "sha256-xhBIJcEtxDdMXSgQtLAV0UWzPtrvKEil0WV76K5ycBc=";
15 sourceRoot = "${src.name}/frontend";
17 npmDepsHash = "sha256-acNIMKHc4q7eiFLPBtKZBNweEsrt+//0VR6dqwXHTvA=";
19 NODE_OPTIONS = "--openssl-legacy-provider";
32 pname = "filebrowser";
35 src = fetchFromGitHub {
36 owner = "filebrowser";
39 hash = "sha256-xhBIJcEtxDdMXSgQtLAV0UWzPtrvKEil0WV76K5ycBc=";
42 vendorHash = "sha256-MR0ju2Nomb3j78Z+1YcJY+jPd40MZpuOTuQJM94AM8A=";
44 excludedPackages = [ "tools" ];
47 cp -r ${frontend}/dist frontend/
55 description = "Filebrowser is a web application for managing files and directories";
56 homepage = "https://filebrowser.org";
57 license = licenses.asl20;
58 maintainers = with maintainers; [ nielsegberts ];
59 mainProgram = "filebrowser";