python3Packages.stringzilla: 3.12.6 -> 4.0.14 (#445741)

dotlambda d9c11521 e0468f9f

Changed files
+54 -3
pkgs
development
python-modules
affine-gaps
stringzilla
top-level
+49
pkgs/development/python-modules/affine-gaps/default.nix
···
+
{
+
biopython,
+
buildPythonPackage,
+
colorama,
+
fetchFromGitHub,
+
hatchling,
+
lib,
+
numpy,
+
pytest-repeat,
+
pytestCheckHook,
+
}:
+
+
buildPythonPackage rec {
+
pname = "affine-gaps";
+
version = "0.2.3";
+
pyproject = true;
+
+
src = fetchFromGitHub {
+
owner = "gata-bio";
+
repo = "affine-gaps";
+
tag = "v${version}";
+
hash = "sha256-GP6Ahp1LQYnKp9V7jDEeFsntMC9Qav5kWm+5bSldtyM=";
+
};
+
+
build-system = [ hatchling ];
+
+
dependencies = [
+
colorama
+
numpy
+
];
+
+
pythonImportsCheck = [ "affine_gaps" ];
+
+
nativeCheckInputs = [
+
biopython
+
pytest-repeat
+
pytestCheckHook
+
];
+
+
enabledTestPaths = [ "test.py" ];
+
+
meta = {
+
changelog = "https://github.com/gata-bio/affine-gaps/releases/tag/${src.tag}";
+
homepage = "https://github.com/gata-bio/affine-gaps";
+
license = lib.licenses.asl20;
+
mainProgram = "affine-gaps";
+
maintainers = [ lib.maintainers.dotlambda ];
+
};
+
}
+3 -3
pkgs/development/python-modules/stringzilla/default.nix
···
buildPythonPackage rec {
pname = "stringzilla";
-
version = "3.12.6";
+
version = "4.0.14";
pyproject = true;
src = fetchFromGitHub {
owner = "ashvardanian";
repo = "stringzilla";
tag = "v${version}";
-
hash = "sha256-4Ze6yVNd2NX0E6vAJuiLZTIgicF7mSlGO8wKOF1jYds=";
+
hash = "sha256-kEo5lNCdC9676ZrBNIkav+9wT9qjzZHbauKuVnrXxK8=";
};
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
···
pytestCheckHook
];
-
enabledTestPaths = [ "scripts/test.py" ];
+
enabledTestPaths = [ "scripts/test_stringzilla.py" ];
meta = {
changelog = "https://github.com/ashvardanian/StringZilla/releases/tag/${src.tag}";
+2
pkgs/top-level/python-packages.nix
···
affine = callPackage ../development/python-modules/affine { };
+
affine-gaps = callPackage ../development/python-modules/affine-gaps { };
+
afsapi = callPackage ../development/python-modules/afsapi { };
agate = callPackage ../development/python-modules/agate { };