13 buildPythonPackage rec {
15 version = "0.5.5"; # Don't upgrade to 4.3.1, this tag is very old
16 format = "setuptools";
19 src = fetchFromGitHub {
23 hash = "sha256-n5rXIjqVQZzEbfIZVQiGLh2PR1DHAJ9gumcrbvwnasA=";
27 # https://github.com/HPAC/matchpy/pull/77
29 name = "fix-versioneer-py312.patch";
30 url = "https://github.com/HPAC/matchpy/commit/965d7c39689b9f2473a78ed06b83f2be701e234d.patch";
31 hash = "sha256-xXADCSIhq1ARny2twzrhR1J8LkMFWFl6tmGxrM8RvkU=";
36 sed -i '/pytest-runner/d' setup.cfg
38 substituteInPlace setup.cfg \
39 --replace "multiset>=2.0,<3.0" "multiset"
46 propagatedBuildInputs = [
56 pythonImportsCheck = [
61 description = "A library for pattern matching on symbolic expressions";
62 homepage = "https://github.com/HPAC/matchpy";
63 license = licenses.mit;
64 maintainers = with maintainers; [ ];