diff --git a/packages/graphify/default.nix b/packages/graphify/default.nix index abc469f..291b4f4 100644 --- a/packages/graphify/default.nix +++ b/packages/graphify/default.nix @@ -2,18 +2,4 @@ pkgs, ... }: -# nixpkgs' pybloomfilter3 0.7.3 (a datasketch dependency) ships sdist metadata -# that still says 0.7.2, which makes pythonMetadataCheckPhase fail even though -# the build succeeds. Skip only that check. -let - python = pkgs.python3.override { - packageOverrides = self: super: { - pybloomfilter3 = super.pybloomfilter3.overridePythonAttrs (_: { - dontCheckPythonMetadata = true; - }); - }; - }; -in -python.pkgs.callPackage ./package.nix { - python3Packages = python.pkgs; -} +pkgs.callPackage ./package.nix { } diff --git a/packages/graphify/package.nix b/packages/graphify/package.nix index 90838a8..9efda3d 100644 --- a/packages/graphify/package.nix +++ b/packages/graphify/package.nix @@ -6,14 +6,18 @@ python3Packages.buildPythonApplication rec { pname = "graphify"; - version = "1.0.0"; + version = "0.9.77"; pyproject = true; + # Do not bump to the v1.0.0 tag: it is a stale branch 2126 commits behind + # v0.9.77 (tagged 2026-04-05, pyproject still says graphifyy 0.1.10) and was + # never published to PyPI, where 0.9.77 is the latest release. nix-update + # picks v1.0.0 as the highest tag, so check PyPI before taking its result. src = fetchFromGitHub { owner = "Graphify-Labs"; repo = "graphify"; rev = "v${version}"; - hash = "sha256-YPiQChaoX64XBFORI5CmKe/LX0ECu1cYZWElGD7X2eA="; + hash = "sha256-CvJ6GoV1nSzFGfLQbzKSHDUNOuOPQZaYOf/idcSHkPw="; }; build-system = with python3Packages; [ @@ -24,7 +28,7 @@ python3Packages.buildPythonApplication rec { # Missing grammars will be downloaded by tree-sitter at runtime on demand. dependencies = with python3Packages; [ networkx - datasketch + numpy rapidfuzz tree-sitter tree-sitter-python