flake: create gloomberb flake pkg

This commit is contained in:
2026-09-10 16:23:14 -04:00
parent c1edb1028a
commit 27e8373e15
6 changed files with 2054 additions and 55 deletions
Generated
+153 -38
View File
@@ -62,6 +62,30 @@
"type": "github"
}
},
"bun2nix": {
"inputs": {
"flake-parts": "flake-parts_2",
"nixpkgs": [
"gloomberb",
"nixpkgs"
],
"systems": "systems",
"treefmt-nix": "treefmt-nix_2"
},
"locked": {
"lastModified": 1784665499,
"narHash": "sha256-9BMxlTxCCDAeoNLtb1a/st7udtTIJep+wpUzquA29VU=",
"owner": "nix-community",
"repo": "bun2nix",
"rev": "0f2a1f0b6f42cebe3b149bf62d38754c5e0e9729",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "bun2nix",
"type": "github"
}
},
"cheatengine": {
"inputs": {
"nixpkgs": "nixpkgs_5"
@@ -205,6 +229,28 @@
}
},
"flake-parts_2": {
"inputs": {
"nixpkgs-lib": [
"gloomberb",
"bun2nix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1782949081,
"narHash": "sha256-vp6Y/Grm98ESt6ceOkWiHWyZRDV3J1RID4w+6NWK9yA=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "17c9d6cdfc60c64f4ee8d306f9bc0b4ccb51481e",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_3": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib_2"
},
@@ -222,7 +268,7 @@
"type": "github"
}
},
"flake-parts_3": {
"flake-parts_4": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib_3"
},
@@ -242,7 +288,7 @@
},
"flake-utils": {
"inputs": {
"systems": "systems"
"systems": "systems_2"
},
"locked": {
"lastModified": 1731533236,
@@ -281,7 +327,7 @@
},
"flake-utils_3": {
"inputs": {
"systems": "systems_3"
"systems": "systems_4"
},
"locked": {
"lastModified": 1731533236,
@@ -341,6 +387,21 @@
"type": "github"
}
},
"gloomberb": {
"inputs": {
"bun2nix": "bun2nix",
"nixpkgs": "nixpkgs_6"
},
"locked": {
"path": "./packages/gloomberb",
"type": "path"
},
"original": {
"path": "./packages/gloomberb",
"type": "path"
},
"parent": []
},
"home-manager": {
"inputs": {
"nixpkgs": [
@@ -365,7 +426,7 @@
"lazyvim": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_6"
"nixpkgs": "nixpkgs_7"
},
"locked": {
"lastModified": 1780594829,
@@ -385,7 +446,7 @@
"millennium": {
"inputs": {
"millennium-src": "millennium-src",
"nixpkgs": "nixpkgs_7"
"nixpkgs": "nixpkgs_8"
},
"locked": {
"dir": "packages/nix",
@@ -423,8 +484,8 @@
"nix-cachyos-kernel": {
"inputs": {
"flake-compat": "flake-compat_3",
"flake-parts": "flake-parts_2",
"nixpkgs": "nixpkgs_8"
"flake-parts": "flake-parts_3",
"nixpkgs": "nixpkgs_9"
},
"locked": {
"lastModified": 1788984074,
@@ -480,9 +541,9 @@
"nix-gaming": {
"inputs": {
"flake-compat": "flake-compat_4",
"flake-parts": "flake-parts_3",
"flake-parts": "flake-parts_4",
"git-hooks": "git-hooks_2",
"nixpkgs": "nixpkgs_9"
"nixpkgs": "nixpkgs_10"
},
"locked": {
"lastModified": 1789012916,
@@ -595,10 +656,10 @@
"inputs": {
"flake-compat": "flake-compat_5",
"flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs_11",
"nixpkgs": "nixpkgs_12",
"nvfetcher": "nvfetcher",
"systems": "systems_2",
"treefmt-nix": "treefmt-nix_2"
"systems": "systems_3",
"treefmt-nix": "treefmt-nix_3"
},
"locked": {
"lastModified": 1789010175,
@@ -615,6 +676,22 @@
}
},
"nixpkgs_10": {
"locked": {
"lastModified": 1788549839,
"narHash": "sha256-kOrCcSIA6w9J1hX5DqHy2k9pDTJymExTsbV74U9UtCA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "17de0b976395537756f30a3e78f2f06e5cec89ed",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_11": {
"locked": {
"lastModified": 1788921488,
"narHash": "sha256-8+xWRxEkD6l217cIUdRxfeUGS9lQX0hVtUuNVsBaDzk=",
@@ -630,7 +707,7 @@
"type": "github"
}
},
"nixpkgs_11": {
"nixpkgs_12": {
"locked": {
"lastModified": 1788881743,
"narHash": "sha256-2V9GZGvPfrNzxFozhI9dcqV+c3QdA8YZrvAAzqEB+dI=",
@@ -646,7 +723,7 @@
"type": "github"
}
},
"nixpkgs_12": {
"nixpkgs_13": {
"locked": {
"lastModified": 1789006805,
"narHash": "sha256-xB8mKMOx1IA9vTDNLmJZ6n4wCMq/cuWBBOzGCRnqxrU=",
@@ -662,7 +739,7 @@
"type": "github"
}
},
"nixpkgs_13": {
"nixpkgs_14": {
"locked": {
"lastModified": 1780365719,
"narHash": "sha256-QfWfccTN+70ZQ4m2qlU9PiKfz2Yppq94058iJyARNwc=",
@@ -743,6 +820,22 @@
}
},
"nixpkgs_6": {
"locked": {
"lastModified": 1789006805,
"narHash": "sha256-xB8mKMOx1IA9vTDNLmJZ6n4wCMq/cuWBBOzGCRnqxrU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_7": {
"locked": {
"lastModified": 1752480373,
"narHash": "sha256-JHQbm+OcGp32wAsXTE/FLYGNpb+4GLi5oTvCxwSoBOA=",
@@ -758,7 +851,7 @@
"type": "github"
}
},
"nixpkgs_7": {
"nixpkgs_8": {
"locked": {
"lastModified": 1781577229,
"narHash": "sha256-lrp67w8AulE9Ks53n27I45ADSzbOCn4H+CNW1Ck8B+8=",
@@ -774,7 +867,7 @@
"type": "github"
}
},
"nixpkgs_8": {
"nixpkgs_9": {
"locked": {
"lastModified": 1788967131,
"narHash": "sha256-JNrdXEtevKJgYc2SYffeT9wRoaGbkOrA7bvoSyVsZv8=",
@@ -790,22 +883,6 @@
"type": "github"
}
},
"nixpkgs_9": {
"locked": {
"lastModified": 1788549839,
"narHash": "sha256-kOrCcSIA6w9J1hX5DqHy2k9pDTJymExTsbV74U9UtCA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "17de0b976395537756f30a3e78f2f06e5cec89ed",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nvfetcher": {
"inputs": {
"flake-compat": [
@@ -875,6 +952,7 @@
"affinity-thumbnailer-kde": "affinity-thumbnailer-kde",
"appimage-manager": "appimage-manager",
"cheatengine": "cheatengine",
"gloomberb": "gloomberb",
"home-manager": "home-manager",
"lazyvim": "lazyvim",
"millennium": "millennium",
@@ -882,7 +960,7 @@
"nix-darwin": "nix-darwin",
"nix-flatpak": "nix-flatpak",
"nix-gaming": "nix-gaming",
"nixpkgs": "nixpkgs_10",
"nixpkgs": "nixpkgs_11",
"nixpkgs-firmware": "nixpkgs-firmware",
"nixpkgs-unstable": "nixpkgs-unstable",
"nixpkgs-xr": "nixpkgs-xr",
@@ -892,7 +970,7 @@
},
"scopebuddy": {
"inputs": {
"nixpkgs": "nixpkgs_12"
"nixpkgs": "nixpkgs_13"
},
"locked": {
"lastModified": 1787088847,
@@ -909,6 +987,21 @@
}
},
"systems": {
"locked": {
"lastModified": 1776166891,
"narHash": "sha256-bI8yrEGjrohR5hkQox7UrxDH7XqrYMwI8SL/LrJ1+S8=",
"owner": "nix-systems",
"repo": "triplet",
"rev": "6de7bc09397911ce03636afbcf6118745ab2cda0",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "triplet",
"type": "github"
}
},
"systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
@@ -923,7 +1016,7 @@
"type": "github"
}
},
"systems_2": {
"systems_3": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
@@ -938,7 +1031,7 @@
"type": "github"
}
},
"systems_3": {
"systems_4": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
@@ -972,6 +1065,28 @@
}
},
"treefmt-nix_2": {
"inputs": {
"nixpkgs": [
"gloomberb",
"bun2nix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1784369104,
"narHash": "sha256-47cxbcZODibHv3rELFQ9vZly0vUNkND/atn/U7HLeb0=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "df3c0640565d04a0261253cdd89fce78ec50168a",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
},
"treefmt-nix_3": {
"inputs": {
"nixpkgs": [
"nixpkgs-xr",
@@ -1047,7 +1162,7 @@
"xivlauncher-rb": {
"inputs": {
"flake-utils": "flake-utils_3",
"nixpkgs": "nixpkgs_13",
"nixpkgs": "nixpkgs_14",
"xivlauncher-core-src": "xivlauncher-core-src"
},
"locked": {
+13 -17
View File
@@ -3,6 +3,18 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-firmware.url = "github:NixOS/nixpkgs?rev=220e781eee89fa86f26d05c40a57eea1c691adec";
xivlauncher-rb.url = "github:dawei-nh/xivlauncher-rb-nix";
cheatengine.url = "github:Hy4ri/cheatengine-flake";
millennium.url = "github:SteamClientHomebrew/Millennium?dir=packages/nix";
scopebuddy.url = "github:HikariKnight/ScopeBuddy";
nix-gaming.url = "github:fufexan/nix-gaming";
nixpkgs-xr.url = "github:nix-community/nixpkgs-xr";
nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel";
lazyvim.url = "github:pfassina/lazyvim-nix/v16.0.0";
affinity-nix.url = "github:mrshmllow/affinity-nix";
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.7.0";
appimage-manager.url = "github:kem-a/AppManager";
gloomberb.url = "./packages/gloomberb";
home-manager = {
url = "github:nix-community/home-manager/release-26.05";
@@ -14,27 +26,10 @@
inputs.nixpkgs.follows = "nixpkgs";
};
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.7.0";
appimage-manager.url = "github:kem-a/AppManager";
lazyvim.url = "github:pfassina/lazyvim-nix/v16.0.0";
affinity-nix.url = "github:mrshmllow/affinity-nix";
#affinity-nix.url = "git+https://gitea.daguerro.net/floturcocantsee/affinity-nix";
affinity-thumbnailer-kde = {
url = "path:./packages/affinity-thumbnailer-kde";
inputs.nixpkgs.follows = "nixpkgs";
};
xivlauncher-rb.url = "github:dawei-nh/xivlauncher-rb-nix";
cheatengine.url = "github:Hy4ri/cheatengine-flake";
millennium.url = "github:SteamClientHomebrew/Millennium?dir=packages/nix";
scopebuddy.url = "github:HikariKnight/ScopeBuddy";
nix-gaming.url = "github:fufexan/nix-gaming";
nixpkgs-xr.url = "github:nix-community/nixpkgs-xr";
nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel";
};
outputs =
@@ -52,6 +47,7 @@
nix-cachyos-kernel,
cheatengine,
xivlauncher-rb,
gloomberb,
...
}:
let
+1
View File
@@ -370,6 +370,7 @@ in
unstable.fastfetch
inputs.appimage-manager.packages.${pkgs.stdenv.hostPlatform.system}.default
inputs.gloomberb.packages.${pkgs.stdenv.hostPlatform.system}.default
(python3.withPackages (
python-pkgs: with python-pkgs; [
File diff suppressed because it is too large Load Diff
+108
View File
@@ -0,0 +1,108 @@
{
"nodes": {
"bun2nix": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": [
"nixpkgs"
],
"systems": "systems",
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1784665499,
"narHash": "sha256-9BMxlTxCCDAeoNLtb1a/st7udtTIJep+wpUzquA29VU=",
"owner": "nix-community",
"repo": "bun2nix",
"rev": "0f2a1f0b6f42cebe3b149bf62d38754c5e0e9729",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "bun2nix",
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
"bun2nix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1782949081,
"narHash": "sha256-vp6Y/Grm98ESt6ceOkWiHWyZRDV3J1RID4w+6NWK9yA=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "17c9d6cdfc60c64f4ee8d306f9bc0b4ccb51481e",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1789006805,
"narHash": "sha256-xB8mKMOx1IA9vTDNLmJZ6n4wCMq/cuWBBOzGCRnqxrU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"bun2nix": "bun2nix",
"nixpkgs": "nixpkgs"
}
},
"systems": {
"locked": {
"lastModified": 1776166891,
"narHash": "sha256-bI8yrEGjrohR5hkQox7UrxDH7XqrYMwI8SL/LrJ1+S8=",
"owner": "nix-systems",
"repo": "triplet",
"rev": "6de7bc09397911ce03636afbcf6118745ab2cda0",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "triplet",
"type": "github"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [
"bun2nix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1784369104,
"narHash": "sha256-47cxbcZODibHv3rELFQ9vZly0vUNkND/atn/U7HLeb0=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "df3c0640565d04a0261253cdd89fce78ec50168a",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
}
},
"root": "root",
"version": 7
}
+51
View File
@@ -0,0 +1,51 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
bun2nix.url = "github:nix-community/bun2nix";
bun2nix.inputs.nixpkgs.follows = "nixpkgs";
};
outputs =
{
self,
nixpkgs,
bun2nix,
}:
let
systems = [
"x86_64-linux"
"aarch64-linux"
];
forAll = nixpkgs.lib.genAttrs systems;
in
{
packages = forAll (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
bun2nix' = bun2nix.packages.${system}.default;
in
{
default = bun2nix'.mkDerivation {
pname = "gloomberb";
version = "0.13.3";
src = pkgs.fetchFromGitHub {
owner = "gloom-sh";
repo = "gloomberb";
rev = "v0.13.3";
hash = "sha256-b5Ugf0+2eWC9GcX/zxFUSZXsVVdZhSA8jv37h4XBMNc=";
};
bunDeps = bun2nix'.fetchBunDeps {
bunNix = ./bun.nix;
};
module = "src/index.tsx";
bunCompileToBytecode = false;
};
}
);
};
}