Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 64 lines
Nix
at llvm-cleanup
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ lib, buildPythonPackage, fetchFromGitHub, numpy, pandas, pyarrow, pythonOlder, pytz, setuptools, tomlkit,}:
buildPythonPackage rec { pname = "neo4j"; version = "5.20.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "neo4j"; repo = "neo4j-python-driver"; rev = "refs/tags/${version}"; hash = "sha256-ebWEtsgVj2NLYAKe8z6ge6TvnPmXh0Mqkx0b+ZcOePY="; };
postPatch = '' # The dynamic versioning adds a postfix (.dev0) to the version substituteInPlace pyproject.toml \ --replace-fail '"tomlkit ~= 0.11.6"' '"tomlkit >= 0.11.6"' \ --replace-fail 'dynamic = ["version", "readme"]' 'dynamic = ["readme"]' \ --replace-fail '#readme = "README.rst"' 'version = "${version}"' '';
build-system = [ setuptools ];
dependencies = [ pytz tomlkit ];
passthru.optional-dependencies = { numpy = [ numpy ]; pandas = [ numpy pandas ]; pyarrow = [ pyarrow ]; };
# Missing dependencies doCheck = false;
pythonImportsCheck = [ "neo4j" ];
meta = with lib; { description = "Neo4j Bolt Driver for Python"; homepage = "https://github.com/neo4j/neo4j-python-driver"; changelog = "https://github.com/neo4j/neo4j-python-driver/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; };}