at 24.11-pre 1.2 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 fetchpatch, 6 7 poetry-core, 8 9 aiohttp, 10 googleapis-common-protos, 11 grpcio, 12 protobuf, 13 requests, 14 semver, 15 toposort, 16 17 #, async_exit_stack 18 #, dataclasses 19 google-auth, 20 oauthlib, 21 prometheus-client, 22 pygments, 23 pyopenssl, 24 typing-extensions, 25}: 26 27buildPythonPackage rec { 28 pname = "dazl"; 29 version = "7.11.0"; 30 31 src = fetchPypi { 32 inherit pname version; 33 sha256 = "sha256-IErym/Fd8G75NOa+xOyV87UNmEaB31XPvg8GWCSP7k8="; 34 }; 35 36 patches = [ 37 # Merged, remove this next release 38 (fetchpatch { 39 url = "https://github.com/digital-asset/dazl-client/pull/428.patch"; 40 sha256 = "sha256-Gx9W1XkvMPg8FAOAXijDF5QnMbntk5mR0q5+o5i2KAE="; 41 }) 42 ]; 43 44 format = "pyproject"; 45 46 nativeBuildInputs = [ poetry-core ]; 47 48 propagatedBuildInputs = [ 49 aiohttp 50 googleapis-common-protos 51 grpcio 52 protobuf 53 requests 54 semver 55 toposort 56 57 # optional 58 59 #async-exit-stack 60 #dataclasses 61 google-auth 62 oauthlib 63 prometheus-client 64 pygments 65 pyopenssl 66 typing-extensions 67 ]; 68 69 meta = with lib; { 70 description = "High-level Ledger API client for Daml ledgers"; 71 license = licenses.asl20; 72 }; 73}