Files
nixpkgs/pkgs/development/python-modules/logical-unification/default.nix
T
Martin Weinelt d81694d10a python3Packages.logical-unification: 0.4.6 -> 0.4.7
https://github.com/pythological/unification/releases

This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:29 +01:00

66 lines
1.3 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonAtLeast,
toolz,
multipledispatch,
py,
pytestCheckHook,
pytest-html,
pytest-benchmark,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "logical-unification";
version = "0.4.7";
pyproject = true;
src = fetchFromGitHub {
owner = "pythological";
repo = "unification";
tag = "v${version}";
hash = "sha256-m1wB7WOGb/io4Z7Zfl/rckh08j6IKSiiwFKMvl5UzHg=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
toolz
multipledispatch
];
nativeCheckInputs = [
py
pytestCheckHook
pytest-html
pytest-benchmark # Needed for the `--benchmark-skip` flag
];
disabledTests = lib.optionals (pythonAtLeast "3.12") [
# Failed: DID NOT RAISE <class 'RecursionError'>
"test_reify_recursion_limit"
];
pytestFlags = [
"--benchmark-skip"
"--html=testing-report.html"
"--self-contained-html"
];
pythonImportsCheck = [ "unification" ];
meta = {
description = "Straightforward unification in Python that's extensible via generic functions";
homepage = "https://github.com/pythological/unification";
changelog = "https://github.com/pythological/unification/releases";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ Etjean ];
};
}