mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
filebrowser: 2.23.0 -> 2.31.0 (#326932)
This commit is contained in:
commit
cbfd470482
@ -15249,6 +15249,12 @@
|
||||
github = "o0th";
|
||||
githubId = 22490354;
|
||||
};
|
||||
oakenshield = {
|
||||
email = "nix@thorin.theoakenshield.com";
|
||||
github = "HritwikSinghal";
|
||||
githubId = 29531474;
|
||||
name = "Hritwik Singhal";
|
||||
};
|
||||
oaksoaj = {
|
||||
email = "oaksoaj@riseup.net";
|
||||
name = "Oaksoaj";
|
||||
|
@ -1,20 +1,27 @@
|
||||
{ buildGoModule, buildNpmPackage, fetchFromGitHub, lib }:
|
||||
{
|
||||
buildGo123Module,
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "2.31.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "filebrowser";
|
||||
repo = "filebrowser";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-zLM1fLrucIhzGdTTDu81ZnTIipK+iRnPhgfMiT1P+yg=";
|
||||
};
|
||||
|
||||
frontend = buildNpmPackage rec {
|
||||
pname = "filebrowser-frontend";
|
||||
version = "2.23.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "filebrowser";
|
||||
repo = "filebrowser";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-xhBIJcEtxDdMXSgQtLAV0UWzPtrvKEil0WV76K5ycBc=";
|
||||
};
|
||||
inherit version src;
|
||||
|
||||
sourceRoot = "${src.name}/frontend";
|
||||
|
||||
npmDepsHash = "sha256-acNIMKHc4q7eiFLPBtKZBNweEsrt+//0VR6dqwXHTvA=";
|
||||
npmDepsHash = "sha256-5/yEMWkNPAS8/PkaHlPBGFLiJu7xK2GHYo5dYqHAfCE=";
|
||||
|
||||
NODE_OPTIONS = "--openssl-legacy-provider";
|
||||
|
||||
@ -28,18 +35,11 @@ let
|
||||
'';
|
||||
};
|
||||
in
|
||||
buildGoModule rec {
|
||||
buildGo123Module {
|
||||
pname = "filebrowser";
|
||||
version = "2.23.0";
|
||||
inherit version src;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "filebrowser";
|
||||
repo = "filebrowser";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-xhBIJcEtxDdMXSgQtLAV0UWzPtrvKEil0WV76K5ycBc=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-MR0ju2Nomb3j78Z+1YcJY+jPd40MZpuOTuQJM94AM8A=";
|
||||
vendorHash = "sha256-N5aUs8rgTYXeb0qJhPQBCa6lUDkT6lH1bh+1u4bixos=";
|
||||
|
||||
excludedPackages = [ "tools" ];
|
||||
|
||||
@ -55,7 +55,8 @@ buildGoModule rec {
|
||||
description = "Filebrowser is a web application for managing files and directories";
|
||||
homepage = "https://filebrowser.org";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ nielsegberts ];
|
||||
maintainers = with maintainers; [ oakenshield ];
|
||||
mainProgram = "filebrowser";
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user