6013b17aad
Refresh every package pin so the overlay stops carrying versions upstream
has moved past, and repair the pins where an automated bump had produced a
version that no longer resolves:
- graphify 0.9.61 -> 1.0.0 and back to tag tracking: the branch-tracking
update script generated v0.9.77-unstable-<date> for a rev = "v${version}"
src, a tag that never existed
- radar 1.13.1 -> 1.16.2 (upstream retagged its releases as k8s-ui-v*)
- llama-cpp b9645 -> b11439
- hipengine 0.5.0 -> 0.6.1, traycer 1.3.0 -> 1.4.2, freetoken 0.1.2 -> 0.1.3
- awg-tool 0.4.0, freebuff 0.2.19, kubernetes-mcp-server 0.0.67,
marmel 0-unstable-2026-10-05, open-code-review 1.12.12,
ds4 0-unstable-2026-09-20
- version-string normalisation for the branch-tracked packages already at
their newest commit (g3, haivemind, shardr, skillsmcp)
Every changed src hash was re-fetched and verified. omniroute stays at
3.8.50: 3.8.51 changes its npm lockfile, so its npmDepsHash would have to
be recomputed before the bump is usable.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
92 lines
3.1 KiB
Nix
92 lines
3.1 KiB
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "graphify";
|
|
version = "1.0.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Graphify-Labs";
|
|
repo = "graphify";
|
|
rev = "v${version}";
|
|
hash = "sha256-YPiQChaoX64XBFORI5CmKe/LX0ECu1cYZWElGD7X2eA=";
|
|
};
|
|
|
|
build-system = with python3Packages; [
|
|
setuptools
|
|
];
|
|
|
|
# Only tree-sitter grammars available in nixpkgs are included.
|
|
# Missing grammars will be downloaded by tree-sitter at runtime on demand.
|
|
dependencies = with python3Packages; [
|
|
networkx
|
|
datasketch
|
|
rapidfuzz
|
|
tree-sitter
|
|
tree-sitter-python
|
|
tree-sitter-javascript
|
|
tree-sitter-rust
|
|
tree-sitter-c-sharp
|
|
tree-sitter-sql
|
|
];
|
|
|
|
# Remove unavailable tree-sitter grammars from pyproject.toml.
|
|
# Since 0.9.35 upstream pins versions ("tree-sitter-X>=v,<v"), and GNU sed
|
|
# mishandles `"` inside bracket expressions, match the name followed by
|
|
# either `>` (versioned) or `"` (bare) via alternation. This also avoids
|
|
# prefix collisions (e.g. tree-sitter-c vs tree-sitter-c-sharp).
|
|
postPatch = ''
|
|
# relax the build-backend pin: nixpkgs' setuptools is older than 83, but
|
|
# the PEP 639 license metadata graphify relies on needs only >=77.
|
|
sed -i 's/setuptools>=83\.[0-9.]*/setuptools/' pyproject.toml
|
|
sed -i \
|
|
-e '/tree-sitter-typescript>\|tree-sitter-typescript"/d' \
|
|
-e '/tree-sitter-go>\|tree-sitter-go"/d' \
|
|
-e '/tree-sitter-java>\|tree-sitter-java"/d' \
|
|
-e '/tree-sitter-groovy>\|tree-sitter-groovy"/d' \
|
|
-e '/tree-sitter-c>\|tree-sitter-c"/d' \
|
|
-e '/tree-sitter-cpp>\|tree-sitter-cpp"/d' \
|
|
-e '/tree-sitter-ruby>\|tree-sitter-ruby"/d' \
|
|
-e '/tree-sitter-kotlin>\|tree-sitter-kotlin"/d' \
|
|
-e '/tree-sitter-scala>\|tree-sitter-scala"/d' \
|
|
-e '/tree-sitter-php>\|tree-sitter-php"/d' \
|
|
-e '/tree-sitter-swift>\|tree-sitter-swift"/d' \
|
|
-e '/tree-sitter-lua>\|tree-sitter-lua"/d' \
|
|
-e '/tree-sitter-zig>\|tree-sitter-zig"/d' \
|
|
-e '/tree-sitter-powershell>\|tree-sitter-powershell"/d' \
|
|
-e '/tree-sitter-elixir>\|tree-sitter-elixir"/d' \
|
|
-e '/tree-sitter-objc>\|tree-sitter-objc"/d' \
|
|
-e '/tree-sitter-julia>\|tree-sitter-julia"/d' \
|
|
-e '/tree-sitter-verilog>\|tree-sitter-verilog"/d' \
|
|
-e '/tree-sitter-fortran>\|tree-sitter-fortran"/d' \
|
|
-e '/tree-sitter-bash>\|tree-sitter-bash"/d' \
|
|
-e '/tree-sitter-json>\|tree-sitter-json"/d' \
|
|
pyproject.toml
|
|
'';
|
|
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "graphify" ];
|
|
|
|
passthru = {
|
|
category = "AI Coding Agents";
|
|
updateScript = [
|
|
"nix-update"
|
|
"--flake"
|
|
".#graphify"
|
|
];
|
|
};
|
|
|
|
meta = {
|
|
description = "AI coding assistant skill - turn any folder of code, docs, papers, images, or videos into a queryable knowledge graph";
|
|
homepage = "https://github.com/Graphify-Labs/graphify";
|
|
changelog = "https://github.com/Graphify-Labs/graphify/releases/tag/v${version}";
|
|
license = lib.licenses.asl20;
|
|
mainProgram = "graphify";
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|