forked from nikkuss/pkgs
nix flake update (#24)
Reviewed-on: nikkuss/pkgs#24 Co-authored-by: Doloro1978 <doloroo@proton.me> Co-committed-by: Doloro1978 <doloroo@proton.me>
This commit is contained in:
+25
-25
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"ath-tools": {
|
"ath-tools": {
|
||||||
"cargoLock": null,
|
"cargoLock": null,
|
||||||
"date": "2026-04-15",
|
"date": "2026-07-16",
|
||||||
"extract": null,
|
"extract": null,
|
||||||
"name": "ath-tools",
|
"name": "ath-tools",
|
||||||
"passthru": null,
|
"passthru": null,
|
||||||
@@ -11,17 +11,17 @@
|
|||||||
"fetchSubmodules": false,
|
"fetchSubmodules": false,
|
||||||
"leaveDotGit": false,
|
"leaveDotGit": false,
|
||||||
"name": null,
|
"name": null,
|
||||||
"rev": "324903e86fbd30d601f404125da74b28d812be4b",
|
"rev": "54367caab6cb4e6cd21310c64feadbacc8c9b574",
|
||||||
"sha256": "sha256-Gykx/uHPzbHPECtiCoRmo9YWxUpYc7Ky1lNBENLsRm4=",
|
"sha256": "sha256-iH9RKyhGj1mIycK//8KJqbkO1ZbQaAdWgsQNd7AfWMc=",
|
||||||
"sparseCheckout": [],
|
"sparseCheckout": [],
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/qca/qca-swiss-army-knife.git"
|
"url": "https://github.com/qca/qca-swiss-army-knife.git"
|
||||||
},
|
},
|
||||||
"version": "324903e86fbd30d601f404125da74b28d812be4b"
|
"version": "54367caab6cb4e6cd21310c64feadbacc8c9b574"
|
||||||
},
|
},
|
||||||
"base24-schemes": {
|
"base24-schemes": {
|
||||||
"cargoLock": null,
|
"cargoLock": null,
|
||||||
"date": "2026-05-03",
|
"date": "2026-07-14",
|
||||||
"extract": null,
|
"extract": null,
|
||||||
"name": "base24-schemes",
|
"name": "base24-schemes",
|
||||||
"passthru": null,
|
"passthru": null,
|
||||||
@@ -31,13 +31,13 @@
|
|||||||
"fetchSubmodules": false,
|
"fetchSubmodules": false,
|
||||||
"leaveDotGit": false,
|
"leaveDotGit": false,
|
||||||
"name": null,
|
"name": null,
|
||||||
"rev": "0c94645546f4f3ddac77a1a5fce54eb95bf50795",
|
"rev": "010185535336bf94d815b900cd63bb0fc204e216",
|
||||||
"sha256": "sha256-PDF0/wObw4nIsSBeXVYLsloXOiphXCgIdsrNcVXguKs=",
|
"sha256": "sha256-F+YMLW07YdZ4vUPt9h/gNKDU4GlXYYfSWjhY7M2RqRs=",
|
||||||
"sparseCheckout": [],
|
"sparseCheckout": [],
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/tinted-theming/schemes.git"
|
"url": "https://github.com/tinted-theming/schemes.git"
|
||||||
},
|
},
|
||||||
"version": "0c94645546f4f3ddac77a1a5fce54eb95bf50795"
|
"version": "010185535336bf94d815b900cd63bb0fc204e216"
|
||||||
},
|
},
|
||||||
"claude-code-acp": {
|
"claude-code-acp": {
|
||||||
"cargoLock": null,
|
"cargoLock": null,
|
||||||
@@ -53,12 +53,12 @@
|
|||||||
"name": null,
|
"name": null,
|
||||||
"owner": "zed-industries",
|
"owner": "zed-industries",
|
||||||
"repo": "claude-code-acp",
|
"repo": "claude-code-acp",
|
||||||
"rev": "v0.35.0",
|
"rev": "v0.60.0",
|
||||||
"sha256": "sha256-xb6D4J+EmbK5XCrZCyv1LWYdfmaNDcw7Hk4nHg76uAo=",
|
"sha256": "sha256-idyZcd8KD+bhAlKqqaTS6X8DcNjAzluln8it1V0vyUk=",
|
||||||
"sparseCheckout": [],
|
"sparseCheckout": [],
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"version": "v0.35.0"
|
"version": "v0.60.0"
|
||||||
},
|
},
|
||||||
"claude-sync": {
|
"claude-sync": {
|
||||||
"cargoLock": null,
|
"cargoLock": null,
|
||||||
@@ -74,12 +74,12 @@
|
|||||||
"name": null,
|
"name": null,
|
||||||
"owner": "tawanorg",
|
"owner": "tawanorg",
|
||||||
"repo": "claude-sync",
|
"repo": "claude-sync",
|
||||||
"rev": "v1.9.0",
|
"rev": "v1.14.6",
|
||||||
"sha256": "sha256-5waB01wmSsFUkBB/PmT9yY5b1J/aapZJCnm5O21q+Q4=",
|
"sha256": "sha256-i/V6Yf6f21KBriSpHG/9BZoUWTg5gHNisxQoUbuhBY0=",
|
||||||
"sparseCheckout": [],
|
"sparseCheckout": [],
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"version": "v1.9.0"
|
"version": "v1.14.6"
|
||||||
},
|
},
|
||||||
"flightcore": {
|
"flightcore": {
|
||||||
"cargoLock": null,
|
"cargoLock": null,
|
||||||
@@ -126,11 +126,11 @@
|
|||||||
"neovide": {
|
"neovide": {
|
||||||
"cargoLock": {
|
"cargoLock": {
|
||||||
"Cargo.lock": [
|
"Cargo.lock": [
|
||||||
"sha256-Ke8bM5o33s1h1fHY7Y10fYKpVwS3_pU7iOBpBOC0Dvw=/Cargo.lock",
|
"sha256-3Bi1GKVRu90eQa5e8bhgOW1T92INWbQNCARJKeBM6Y8=/Cargo.lock",
|
||||||
{}
|
{}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"date": "2026-05-16",
|
"date": "2026-07-18",
|
||||||
"extract": null,
|
"extract": null,
|
||||||
"name": "neovide",
|
"name": "neovide",
|
||||||
"passthru": null,
|
"passthru": null,
|
||||||
@@ -140,13 +140,13 @@
|
|||||||
"fetchSubmodules": false,
|
"fetchSubmodules": false,
|
||||||
"leaveDotGit": false,
|
"leaveDotGit": false,
|
||||||
"name": null,
|
"name": null,
|
||||||
"rev": "8c48a699e201aa5559227a96d879b2f57192b354",
|
"rev": "9477f53a9c5821bec8eb4488dee89842f96f5bd3",
|
||||||
"sha256": "sha256-Ke8bM5o33s1h1fHY7Y10fYKpVwS3/pU7iOBpBOC0Dvw=",
|
"sha256": "sha256-3Bi1GKVRu90eQa5e8bhgOW1T92INWbQNCARJKeBM6Y8=",
|
||||||
"sparseCheckout": [],
|
"sparseCheckout": [],
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/neovide/neovide.git"
|
"url": "https://github.com/neovide/neovide.git"
|
||||||
},
|
},
|
||||||
"version": "8c48a699e201aa5559227a96d879b2f57192b354"
|
"version": "9477f53a9c5821bec8eb4488dee89842f96f5bd3"
|
||||||
},
|
},
|
||||||
"qebspil": {
|
"qebspil": {
|
||||||
"cargoLock": null,
|
"cargoLock": null,
|
||||||
@@ -182,12 +182,12 @@
|
|||||||
"name": null,
|
"name": null,
|
||||||
"owner": "radareorg",
|
"owner": "radareorg",
|
||||||
"repo": "r2ghidra",
|
"repo": "r2ghidra",
|
||||||
"rev": "6.1.4",
|
"rev": "6.1.8",
|
||||||
"sha256": "sha256-uVMsONXethTq/BL9MBQkDP3iJ6t25PEnpeD/Y17dpxM=",
|
"sha256": "sha256-f5iohbAUYG524KJqSvL3PQCFnLQc055Ta02G3CRSO9I=",
|
||||||
"sparseCheckout": [],
|
"sparseCheckout": [],
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"version": "6.1.4"
|
"version": "6.1.8"
|
||||||
},
|
},
|
||||||
"radare2-mcp": {
|
"radare2-mcp": {
|
||||||
"cargoLock": null,
|
"cargoLock": null,
|
||||||
@@ -203,12 +203,12 @@
|
|||||||
"name": null,
|
"name": null,
|
||||||
"owner": "radareorg",
|
"owner": "radareorg",
|
||||||
"repo": "radare2-mcp",
|
"repo": "radare2-mcp",
|
||||||
"rev": "1.8.0",
|
"rev": "1.8.4",
|
||||||
"sha256": "sha256-1tV3mG1hEIcq18cHn5kS4n9ocVZsHQ5A4TCTA3OKzn8=",
|
"sha256": "sha256-EbkEbTATKxBOKWVqKkHp6h/hg4VUW0TsgGxN9TRI+pc=",
|
||||||
"sparseCheckout": [],
|
"sparseCheckout": [],
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"version": "1.8.0"
|
"version": "1.8.4"
|
||||||
},
|
},
|
||||||
"slbounce": {
|
"slbounce": {
|
||||||
"cargoLock": null,
|
"cargoLock": null,
|
||||||
|
|||||||
+25
-25
@@ -8,52 +8,52 @@
|
|||||||
{
|
{
|
||||||
ath-tools = {
|
ath-tools = {
|
||||||
pname = "ath-tools";
|
pname = "ath-tools";
|
||||||
version = "324903e86fbd30d601f404125da74b28d812be4b";
|
version = "54367caab6cb4e6cd21310c64feadbacc8c9b574";
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://github.com/qca/qca-swiss-army-knife.git";
|
url = "https://github.com/qca/qca-swiss-army-knife.git";
|
||||||
rev = "324903e86fbd30d601f404125da74b28d812be4b";
|
rev = "54367caab6cb4e6cd21310c64feadbacc8c9b574";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
deepClone = false;
|
deepClone = false;
|
||||||
leaveDotGit = false;
|
leaveDotGit = false;
|
||||||
sparseCheckout = [ ];
|
sparseCheckout = [ ];
|
||||||
sha256 = "sha256-Gykx/uHPzbHPECtiCoRmo9YWxUpYc7Ky1lNBENLsRm4=";
|
sha256 = "sha256-iH9RKyhGj1mIycK//8KJqbkO1ZbQaAdWgsQNd7AfWMc=";
|
||||||
};
|
};
|
||||||
date = "2026-04-15";
|
date = "2026-07-16";
|
||||||
};
|
};
|
||||||
base24-schemes = {
|
base24-schemes = {
|
||||||
pname = "base24-schemes";
|
pname = "base24-schemes";
|
||||||
version = "0c94645546f4f3ddac77a1a5fce54eb95bf50795";
|
version = "010185535336bf94d815b900cd63bb0fc204e216";
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://github.com/tinted-theming/schemes.git";
|
url = "https://github.com/tinted-theming/schemes.git";
|
||||||
rev = "0c94645546f4f3ddac77a1a5fce54eb95bf50795";
|
rev = "010185535336bf94d815b900cd63bb0fc204e216";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
deepClone = false;
|
deepClone = false;
|
||||||
leaveDotGit = false;
|
leaveDotGit = false;
|
||||||
sparseCheckout = [ ];
|
sparseCheckout = [ ];
|
||||||
sha256 = "sha256-PDF0/wObw4nIsSBeXVYLsloXOiphXCgIdsrNcVXguKs=";
|
sha256 = "sha256-F+YMLW07YdZ4vUPt9h/gNKDU4GlXYYfSWjhY7M2RqRs=";
|
||||||
};
|
};
|
||||||
date = "2026-05-03";
|
date = "2026-07-14";
|
||||||
};
|
};
|
||||||
claude-code-acp = {
|
claude-code-acp = {
|
||||||
pname = "claude-code-acp";
|
pname = "claude-code-acp";
|
||||||
version = "v0.35.0";
|
version = "v0.60.0";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "zed-industries";
|
owner = "zed-industries";
|
||||||
repo = "claude-code-acp";
|
repo = "claude-code-acp";
|
||||||
rev = "v0.35.0";
|
rev = "v0.60.0";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
sha256 = "sha256-xb6D4J+EmbK5XCrZCyv1LWYdfmaNDcw7Hk4nHg76uAo=";
|
sha256 = "sha256-idyZcd8KD+bhAlKqqaTS6X8DcNjAzluln8it1V0vyUk=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
claude-sync = {
|
claude-sync = {
|
||||||
pname = "claude-sync";
|
pname = "claude-sync";
|
||||||
version = "v1.9.0";
|
version = "v1.14.6";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tawanorg";
|
owner = "tawanorg";
|
||||||
repo = "claude-sync";
|
repo = "claude-sync";
|
||||||
rev = "v1.9.0";
|
rev = "v1.14.6";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
sha256 = "sha256-5waB01wmSsFUkBB/PmT9yY5b1J/aapZJCnm5O21q+Q4=";
|
sha256 = "sha256-i/V6Yf6f21KBriSpHG/9BZoUWTg5gHNisxQoUbuhBY0=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
flightcore = {
|
flightcore = {
|
||||||
@@ -80,23 +80,23 @@
|
|||||||
};
|
};
|
||||||
neovide = {
|
neovide = {
|
||||||
pname = "neovide";
|
pname = "neovide";
|
||||||
version = "8c48a699e201aa5559227a96d879b2f57192b354";
|
version = "9477f53a9c5821bec8eb4488dee89842f96f5bd3";
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://github.com/neovide/neovide.git";
|
url = "https://github.com/neovide/neovide.git";
|
||||||
rev = "8c48a699e201aa5559227a96d879b2f57192b354";
|
rev = "9477f53a9c5821bec8eb4488dee89842f96f5bd3";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
deepClone = false;
|
deepClone = false;
|
||||||
leaveDotGit = false;
|
leaveDotGit = false;
|
||||||
sparseCheckout = [ ];
|
sparseCheckout = [ ];
|
||||||
sha256 = "sha256-Ke8bM5o33s1h1fHY7Y10fYKpVwS3/pU7iOBpBOC0Dvw=";
|
sha256 = "sha256-3Bi1GKVRu90eQa5e8bhgOW1T92INWbQNCARJKeBM6Y8=";
|
||||||
};
|
};
|
||||||
cargoLock."Cargo.lock" = {
|
cargoLock."Cargo.lock" = {
|
||||||
lockFile = ./. + "/sha256-Ke8bM5o33s1h1fHY7Y10fYKpVwS3_pU7iOBpBOC0Dvw=/Cargo.lock";
|
lockFile = ./. + "/sha256-3Bi1GKVRu90eQa5e8bhgOW1T92INWbQNCARJKeBM6Y8=/Cargo.lock";
|
||||||
outputHashes = {
|
outputHashes = {
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
date = "2026-05-16";
|
date = "2026-07-18";
|
||||||
};
|
};
|
||||||
qebspil = {
|
qebspil = {
|
||||||
pname = "qebspil";
|
pname = "qebspil";
|
||||||
@@ -114,24 +114,24 @@
|
|||||||
};
|
};
|
||||||
radare2-ghidra = {
|
radare2-ghidra = {
|
||||||
pname = "radare2-ghidra";
|
pname = "radare2-ghidra";
|
||||||
version = "6.1.4";
|
version = "6.1.8";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "radareorg";
|
owner = "radareorg";
|
||||||
repo = "r2ghidra";
|
repo = "r2ghidra";
|
||||||
rev = "6.1.4";
|
rev = "6.1.8";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
sha256 = "sha256-uVMsONXethTq/BL9MBQkDP3iJ6t25PEnpeD/Y17dpxM=";
|
sha256 = "sha256-f5iohbAUYG524KJqSvL3PQCFnLQc055Ta02G3CRSO9I=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
radare2-mcp = {
|
radare2-mcp = {
|
||||||
pname = "radare2-mcp";
|
pname = "radare2-mcp";
|
||||||
version = "1.8.0";
|
version = "1.8.4";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "radareorg";
|
owner = "radareorg";
|
||||||
repo = "radare2-mcp";
|
repo = "radare2-mcp";
|
||||||
rev = "1.8.0";
|
rev = "1.8.4";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
sha256 = "sha256-1tV3mG1hEIcq18cHn5kS4n9ocVZsHQ5A4TCTA3OKzn8=";
|
sha256 = "sha256-EbkEbTATKxBOKWVqKkHp6h/hg4VUW0TsgGxN9TRI+pc=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
slbounce = {
|
slbounce = {
|
||||||
|
|||||||
+6
-6
@@ -2849,9 +2849,9 @@ checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "skia-bindings"
|
name = "skia-bindings"
|
||||||
version = "0.97.0"
|
version = "0.97.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "d6e3bcf8f25bf047e83110838463e8d06696c12fccc3d3794adf448b4d81f34b"
|
checksum = "e6a38f4d460276ea40588c958396a9de0eec808c679009a5b52afdf6ebf34132"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bindgen",
|
"bindgen",
|
||||||
"cc",
|
"cc",
|
||||||
@@ -2866,9 +2866,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "skia-safe"
|
name = "skia-safe"
|
||||||
version = "0.97.0"
|
version = "0.97.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "935d4d174fb749bac9265eb41cad75039d32fda2d9c1a1e81b430df0e210a409"
|
checksum = "1ecfc54fcd40dc5dea15dd2a84f8422cdb0f76c6a51ebb8835ce0b7ef590a21f"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 2.10.0",
|
"bitflags 2.10.0",
|
||||||
"skia-bindings",
|
"skia-bindings",
|
||||||
@@ -3070,7 +3070,7 @@ dependencies = [
|
|||||||
"getrandom 0.3.4",
|
"getrandom 0.3.4",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
"rustix 1.1.2",
|
"rustix 1.1.2",
|
||||||
"windows-sys 0.52.0",
|
"windows-sys 0.61.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -3689,7 +3689,7 @@ version = "0.1.11"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
|
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"windows-sys 0.52.0",
|
"windows-sys 0.61.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
Generated
+3
-3
@@ -20,11 +20,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1780011192,
|
"lastModified": 1784463523,
|
||||||
"narHash": "sha256-luHrZG6I7Mwdt413XoDOYBpp9z1z6X23/5SNktwjM+k=",
|
"narHash": "sha256-DIM0Ma2i514MRl+NJY2/LGzG8i6hs4zORZw9E+0VwBc=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "3242faf14b7611a62ce0f0071619438a08b65c12",
|
"rev": "3d79c8d63e761c59323e90a27b50eb52b5482bfe",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ buildGoModule (finalAttrs: {
|
|||||||
version = lib.removePrefix "v" sources.claude-sync.version;
|
version = lib.removePrefix "v" sources.claude-sync.version;
|
||||||
inherit (sources.claude-sync) src;
|
inherit (sources.claude-sync) src;
|
||||||
|
|
||||||
vendorHash = "sha256-cHWP5m191QP4XxeOtgHaLsyavXWikUwViDivBMGP34M=";
|
vendorHash = "sha256-VLqVk5bhM+WoEbP+agFpm1LjzI2qFWlWQZB8yV2vbOU=";
|
||||||
|
|
||||||
subPackages = [ "cmd/claude-sync" ];
|
subPackages = [ "cmd/claude-sync" ];
|
||||||
|
|
||||||
|
|||||||
@@ -9,14 +9,15 @@
|
|||||||
gnumake,
|
gnumake,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
electron_40,
|
electron_41,
|
||||||
vpkmerge,
|
vpkmerge,
|
||||||
sqlite,
|
sqlite,
|
||||||
callPackage,
|
callPackage,
|
||||||
makeDesktopItem,
|
makeDesktopItem,
|
||||||
copyDesktopItems,
|
copyDesktopItems,
|
||||||
}: let
|
}:
|
||||||
sources = callPackage ../../../../_sources/generated.nix {};
|
let
|
||||||
|
sources = callPackage ../../../../_sources/generated.nix { };
|
||||||
|
|
||||||
src = sources.grimoire.src;
|
src = sources.grimoire.src;
|
||||||
version = src.rev;
|
version = src.rev;
|
||||||
@@ -32,114 +33,116 @@
|
|||||||
pnpmDeps = pnpm.fetchDeps {
|
pnpmDeps = pnpm.fetchDeps {
|
||||||
pname = "grimoire";
|
pname = "grimoire";
|
||||||
inherit version src;
|
inherit version src;
|
||||||
fetcherVersion = 3;
|
fetcherVersion = 4;
|
||||||
hash = "sha256-X7KLUag9HPHVit0l/tA3BxQZ2/Cj0A5KiG4Oevx2268=";
|
hash = "sha256-Mqvvemc3oDCiuY/UnDOc73P+dLqMEFnwQotodVhrPao=";
|
||||||
|
# hash = lib.fakeHash;
|
||||||
};
|
};
|
||||||
|
|
||||||
desktopItem = makeDesktopItem {
|
desktopItem = makeDesktopItem {
|
||||||
name = "grimoire";
|
name = "grimoire";
|
||||||
exec = "grimoire %u";
|
exec = "grimoire %u";
|
||||||
desktopName = "Grimoire";
|
desktopName = "Grimoire";
|
||||||
categories = ["Utility"];
|
categories = [ "Utility" ];
|
||||||
mimeTypes = ["x-scheme-handler/grimoire"];
|
mimeTypes = [ "x-scheme-handler/grimoire" ];
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "grimoire";
|
pname = "grimoire";
|
||||||
inherit version src;
|
inherit version src;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
nodejs_22
|
nodejs_22
|
||||||
pnpm
|
pnpm
|
||||||
pnpm.configHook
|
pnpm.configHook
|
||||||
python3
|
python3
|
||||||
gcc
|
gcc
|
||||||
gnumake
|
gnumake
|
||||||
pkg-config
|
pkg-config
|
||||||
makeWrapper
|
makeWrapper
|
||||||
electron_40
|
electron_41
|
||||||
copyDesktopItems
|
copyDesktopItems
|
||||||
];
|
];
|
||||||
|
|
||||||
desktopItems = [desktopItem];
|
desktopItems = [ desktopItem ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
sqlite
|
sqlite
|
||||||
];
|
];
|
||||||
|
|
||||||
inherit pnpmDeps;
|
inherit pnpmDeps;
|
||||||
|
|
||||||
env = {
|
env = {
|
||||||
GRIMOIRE_SOCIAL_BASE_URL = "https://grimoire-social.slusheliott.workers.dev";
|
GRIMOIRE_SOCIAL_BASE_URL = "https://grimoire-social.slusheliott.workers.dev";
|
||||||
# electron-builder must not try to fetch an Electron binary over the
|
# electron-builder must not try to fetch an Electron binary over the
|
||||||
# network; we hand it the Nix one via --config.electronDist below.
|
# network; we hand it the Nix one via --config.electronDist below.
|
||||||
ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
|
ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
cp -r ${grimoire-social-src} ../grimoire-social
|
cp -r ${grimoire-social-src} ../grimoire-social
|
||||||
chmod -R u+w ../grimoire-social
|
chmod -R u+w ../grimoire-social
|
||||||
|
|
||||||
mkdir -p resources/vpkmerge
|
mkdir -p resources/vpkmerge
|
||||||
cp ${vpkmerge}/bin/vpkmerge resources/vpkmerge/vpkmerge-linux-x86_64
|
cp ${vpkmerge}/bin/vpkmerge resources/vpkmerge/vpkmerge-linux-x86_64
|
||||||
chmod +x resources/vpkmerge/vpkmerge-linux-x86_64
|
chmod +x resources/vpkmerge/vpkmerge-linux-x86_64
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
|
|
||||||
mkdir -p ../grimoire-social/node_modules
|
mkdir -p ../grimoire-social/node_modules
|
||||||
ln -sfn "$(realpath node_modules/zod)" ../grimoire-social/node_modules/zod
|
ln -sfn "$(realpath node_modules/zod)" ../grimoire-social/node_modules/zod
|
||||||
|
|
||||||
# Rebuild the better-sqlite3 native addon against the Electron ABI. We do
|
# Rebuild the better-sqlite3 native addon against the Electron ABI. We do
|
||||||
# this ourselves (and disable electron-builder's own rebuild below) so no
|
# this ourselves (and disable electron-builder's own rebuild below) so no
|
||||||
# network fetch of Electron headers is needed inside the sandbox.
|
# network fetch of Electron headers is needed inside the sandbox.
|
||||||
(
|
(
|
||||||
cd node_modules/better-sqlite3
|
cd node_modules/better-sqlite3
|
||||||
HOME="$TMPDIR" node \
|
patch -p1 < ${./patches/better-sqlite3-thistogetthis.patch}
|
||||||
"${nodejs_22}/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" \
|
HOME="$TMPDIR" node \
|
||||||
rebuild \
|
"${nodejs_22}/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" \
|
||||||
--nodedir="${electron_40.headers}"
|
rebuild \
|
||||||
)
|
--nodedir="${electron_41.headers}"
|
||||||
|
)
|
||||||
|
|
||||||
# Package the app the same way upstream CI does (release.yml):
|
# Package the app the same way upstream CI does (release.yml):
|
||||||
# `electron-vite build && electron-builder`. We stop at the unpacked
|
# `electron-vite build && electron-builder`. We stop at the unpacked
|
||||||
# `--dir` output instead of building AppImage/deb installers, then wrap
|
# `--dir` output instead of building AppImage/deb installers, then wrap
|
||||||
# the Nix Electron around the produced app.asar. Building through
|
# the Nix Electron around the produced app.asar. Building through
|
||||||
# electron-builder (rather than launching Electron on the raw dist/)
|
# electron-builder (rather than launching Electron on the raw dist/)
|
||||||
# makes `app.isPackaged` true, which is what disables the dev-only
|
# makes `app.isPackaged` true, which is what disables the dev-only
|
||||||
# DevTools auto-open and the dev vpkmerge lookup path.
|
# DevTools auto-open and the dev vpkmerge lookup path.
|
||||||
export HOME="$TMPDIR"
|
export HOME="$TMPDIR"
|
||||||
pnpm exec electron-vite build
|
pnpm exec electron-vite build
|
||||||
pnpm exec electron-builder --linux dir \
|
pnpm exec electron-builder --linux dir \
|
||||||
--config.npmRebuild=false \
|
--config.npmRebuild=false \
|
||||||
--config.electronDist=${electron_40.dist} \
|
--config.electronDist=${electron_41.dist} \
|
||||||
--config.electronVersion=${electron_40.version}
|
--config.electronVersion=${electron_41.version}
|
||||||
|
|
||||||
runHook postBuild
|
runHook postBuild
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out/lib/grimoire
|
mkdir -p $out/lib/grimoire
|
||||||
# electron-builder emits the packaged app (app.asar, app.asar.unpacked,
|
# electron-builder emits the packaged app (app.asar, app.asar.unpacked,
|
||||||
# and extraResources such as vpkmerge) under release/linux-unpacked/resources.
|
# and extraResources such as vpkmerge) under release/linux-unpacked/resources.
|
||||||
cp -r release/linux-unpacked/resources $out/lib/grimoire/resources
|
cp -r release/linux-unpacked/resources $out/lib/grimoire/resources
|
||||||
|
|
||||||
# Launch the Nix Electron against the packaged asar. process.resourcesPath
|
# Launch the Nix Electron against the packaged asar. process.resourcesPath
|
||||||
# resolves to the directory holding app.asar, so the bundled vpkmerge at
|
# resolves to the directory holding app.asar, so the bundled vpkmerge at
|
||||||
# resources/vpkmerge/ is found at runtime.
|
# resources/vpkmerge/ is found at runtime.
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
makeWrapper ${electron_40}/bin/electron $out/bin/grimoire \
|
makeWrapper ${electron_41}/bin/electron $out/bin/grimoire \
|
||||||
--add-flags "$out/lib/grimoire/resources/app.asar" \
|
--add-flags "$out/lib/grimoire/resources/app.asar" \
|
||||||
--set NODE_ENV production
|
--set NODE_ENV production
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Grimoire — Electron-based mod manager";
|
description = "Grimoire — Electron-based mod manager";
|
||||||
platforms = ["x86_64-linux"];
|
platforms = [ "x86_64-linux" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,47 @@
|
|||||||
|
--- a/src/util/macros.cpp 2026-07-20 13:25:03.226579751 +0100
|
||||||
|
+++ b/src/util/macros.cpp 2026-07-20 13:25:43.980692531 +0100
|
||||||
|
@@ -11,6 +11,19 @@
|
||||||
|
#define GET_PROTOTYPE(obj) ((obj)->GetPrototype())
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+// PropertyCallbackInfo::This() and Holder() were removed; use HolderV2().
|
||||||
|
+// Tracking bug for V8 API removals: http://crbug.com/333672197
|
||||||
|
+// V8 head has since restored Holder() and deprecated HolderV2():
|
||||||
|
+// https://chromium.googlesource.com/v8/v8/+/main/include/v8-function-callback.h
|
||||||
|
+// V8_INLINE Local<Object> Holder() const;
|
||||||
|
+// V8_DEPRECATE_SOON("Use Holder().")
|
||||||
|
+// V8_INLINE Local<Object> HolderV2() const;
|
||||||
|
+#if defined(V8_MAJOR_VERSION) && V8_MAJOR_VERSION >= 13
|
||||||
|
+#define PROPERTY_HOLDER(info) (info).HolderV2()
|
||||||
|
+#else
|
||||||
|
+#define PROPERTY_HOLDER(info) (info).This()
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#define EasyIsolate v8::Isolate* isolate = v8::Isolate::GetCurrent()
|
||||||
|
#define OnlyIsolate info.GetIsolate()
|
||||||
|
#define OnlyContext isolate->GetCurrentContext()
|
||||||
|
--- a/src/objects/database.cpp 2026-07-20 13:25:03.229579774 +0100
|
||||||
|
+++ b/src/objects/database.cpp 2026-07-20 13:25:52.605028002 +0100
|
||||||
|
@@ -408,10 +408,10 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
NODE_GETTER(Database::JS_open) {
|
||||||
|
- info.GetReturnValue().Set(Unwrap<Database>(info.This())->open);
|
||||||
|
+ info.GetReturnValue().Set(Unwrap<Database>(PROPERTY_HOLDER(info))->open);
|
||||||
|
}
|
||||||
|
|
||||||
|
NODE_GETTER(Database::JS_inTransaction) {
|
||||||
|
- Database* db = Unwrap<Database>(info.This());
|
||||||
|
+ Database* db = Unwrap<Database>(PROPERTY_HOLDER(info));
|
||||||
|
info.GetReturnValue().Set(db->open && !static_cast<bool>(sqlite3_get_autocommit(db->db_handle)));
|
||||||
|
}
|
||||||
|
--- a/src/objects/statement.cpp 2026-07-20 13:25:03.231579789 +0100
|
||||||
|
+++ b/src/objects/statement.cpp 2026-07-20 13:25:52.606984847 +0100
|
||||||
|
@@ -378,6 +378,6 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
NODE_GETTER(Statement::JS_busy) {
|
||||||
|
- Statement* stmt = Unwrap<Statement>(info.This());
|
||||||
|
+ Statement* stmt = Unwrap<Statement>(PROPERTY_HOLDER(info));
|
||||||
|
info.GetReturnValue().Set(stmt->alive && stmt->locked);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user