From d7d833af451469365aa1c547ce62fcf3c52a5db4 Mon Sep 17 00:00:00 2001 From: FlashOnFire_ Date: Sat, 18 Apr 2026 22:31:34 +0200 Subject: [PATCH 1/2] maintainers: add flashonfire --- maintainers/maintainer-list.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 787280f1b699..c09441e2a3e3 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -8954,6 +8954,13 @@ matrix = "@flandweber:envs.net"; name = "Finn Landweber"; }; + flashonfire = { + email = "flashonfire@proton.me"; + github = "flashonfire"; + githubId = 26602207; + matrix = "@flashonfire:lithium.ovh"; + name = "Guillaume Calderon"; + }; fleaz = { email = "mail@felixbreidenstein.de"; matrix = "@fleaz:rainbownerds.de"; From 2a56352698e5cb55c142d69e5a4bb37529643a8a Mon Sep 17 00:00:00 2001 From: FlashOnFire_ Date: Sat, 18 Apr 2026 21:53:20 +0200 Subject: [PATCH 2/2] oxicloud: init at 0.5.5 --- pkgs/by-name/ox/oxicloud/package.nix | 51 ++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 pkgs/by-name/ox/oxicloud/package.nix diff --git a/pkgs/by-name/ox/oxicloud/package.nix b/pkgs/by-name/ox/oxicloud/package.nix new file mode 100644 index 000000000000..7c575920b2c0 --- /dev/null +++ b/pkgs/by-name/ox/oxicloud/package.nix @@ -0,0 +1,51 @@ +{ + lib, + fetchFromGitHub, + makeBinaryWrapper, + openssl, + pkg-config, + rustPlatform, +}: +rustPlatform.buildRustPackage (finalAttrs: { + pname = "oxicloud"; + version = "0.5.5"; + + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "DioCrafts"; + repo = "OxiCloud"; + tag = "v${finalAttrs.version}"; + hash = "sha256-Nn8qgLdiw7w4PZIMCiI+UHZGNW64fjWZ5mErTJifRZU="; + }; + + cargoHash = "sha256-4KfrKL2AKkTt3cOXdl9Xr2qed+qy8WSWuqYfN8WJ0bQ="; + + nativeBuildInputs = [ + makeBinaryWrapper + pkg-config + ]; + buildInputs = [ openssl ]; + + cargoBuildFlags = [ "--bin=oxicloud" ]; + + postInstall = '' + mkdir -p $out/share/oxicloud + cp -r static-dist $out/share/oxicloud/static + ''; + + postFixup = '' + wrapProgram $out/bin/oxicloud \ + --set-default OXICLOUD_STATIC_PATH $out/share/oxicloud/static + ''; + + meta = { + description = "Ultra-fast, secure & lightweight self-hosted cloud storage"; + homepage = "https://github.com/DioCrafts/OxiCloud"; + changelog = "https://github.com/DioCrafts/OxiCloud/releases/tag/v${finalAttrs.version}"; + license = lib.licenses.mit; + mainProgram = "oxicloud"; + maintainers = with lib.maintainers; [ flashonfire ]; + platforms = lib.platforms.linux; + }; +})