16 buildPythonPackage rec {
17 pname = "gremlinpython";
20 # pypi tarball doesn't include tests
21 src = fetchFromGitHub {
25 sha256 = "0gyf3a0zbh1grc1vr9zzpqm5yfcjvn0f1akw9l1arq36isqwvydn";
27 sourceRoot = "source/gremlin-python/src/main/python";
29 substituteInPlace setup.py \
30 --replace 'pytest-runner==5.2' ' '
33 # setup-requires requirements
37 propagatedBuildInputs = [
52 # disable custom pytest report generation
54 substituteInPlace setup.cfg --replace 'addopts' '#addopts'
55 export TEST_TRANSACTIONS='false'
58 # many tests expect a running tinkerpop server
60 "tests/driver/test_client.py"
61 "tests/driver/test_driver_remote_connection.py"
62 "tests/driver/test_driver_remote_connection_threaded.py"
63 "tests/process/test_dsl.py"
64 "tests/structure/io/test_functionalityio.py"
67 # disabledTests doesn't quite allow us to be precise enough for this
68 "-k 'not (TestFunctionalGraphSONIO and (test_timestamp or test_datetime or test_uuid))'"
72 description = "Gremlin-Python implements Gremlin, the graph traversal language of Apache TinkerPop, within the Python language";
73 homepage = "https://tinkerpop.apache.org/";
74 license = licenses.asl20;
75 maintainers = with maintainers; [ turion ris ];