Compare commits
2 Commits
aa2c0995b2
...
dcbde330e4
| Author | SHA1 | Date | |
|---|---|---|---|
| dcbde330e4 | |||
| 029d84940d |
@@ -2,18 +2,4 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
# nixpkgs' pybloomfilter3 0.7.3 (a datasketch dependency) ships sdist metadata
|
pkgs.callPackage ./package.nix { }
|
||||||
# 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;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -6,14 +6,18 @@
|
|||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "graphify";
|
pname = "graphify";
|
||||||
version = "1.0.0";
|
version = "0.9.77";
|
||||||
pyproject = true;
|
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 {
|
src = fetchFromGitHub {
|
||||||
owner = "Graphify-Labs";
|
owner = "Graphify-Labs";
|
||||||
repo = "graphify";
|
repo = "graphify";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-YPiQChaoX64XBFORI5CmKe/LX0ECu1cYZWElGD7X2eA=";
|
hash = "sha256-CvJ6GoV1nSzFGfLQbzKSHDUNOuOPQZaYOf/idcSHkPw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = with python3Packages; [
|
build-system = with python3Packages; [
|
||||||
@@ -24,7 +28,7 @@ python3Packages.buildPythonApplication rec {
|
|||||||
# Missing grammars will be downloaded by tree-sitter at runtime on demand.
|
# Missing grammars will be downloaded by tree-sitter at runtime on demand.
|
||||||
dependencies = with python3Packages; [
|
dependencies = with python3Packages; [
|
||||||
networkx
|
networkx
|
||||||
datasketch
|
numpy
|
||||||
rapidfuzz
|
rapidfuzz
|
||||||
tree-sitter
|
tree-sitter
|
||||||
tree-sitter-python
|
tree-sitter-python
|
||||||
|
|||||||
@@ -7,16 +7,15 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "marmel";
|
pname = "marmel";
|
||||||
# Upstream publishes no git tags or releases, so this is pinned to a commit.
|
# Upstream publishes no git tags, so this is pinned to the 1.0.0 release
|
||||||
# The version shape matches what `nix-update --version=branch=main` generates
|
# commit ("1.0.0 (#6)").
|
||||||
# for a tagless repository.
|
version = "1.0.0";
|
||||||
version = "0-unstable-2026-10-05";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Na1w";
|
owner = "Na1w";
|
||||||
repo = "marmel";
|
repo = "marmel";
|
||||||
rev = "31f4e90553655b664c4bdb6839ddb92c21b144cf";
|
rev = "d6627d7cf3bf509d1e6db0d9d78736116e92e82a";
|
||||||
hash = "sha256-D8/bRBp+Wq5RTsGxMeIgl0pORmU4Ev5D5X9BnHIB1Rs=";
|
hash = "sha256-UlrSp/n3og0GAQXzISsB24OfK3qOUPE7jYOkEbZ2neI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-etqW3xcxkiNfkiPxl/Emt5pQCkNnoIhHFkX0Zqfs4rc=";
|
cargoHash = "sha256-etqW3xcxkiNfkiPxl/Emt5pQCkNnoIhHFkX0Zqfs4rc=";
|
||||||
|
|||||||
Reference in New Issue
Block a user