Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / dazl / default.nix
blob8e26c9194f9ba6464808b0f66d84b05913b4bc89
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , fetchpatch
6 , poetry-core
8 , aiohttp
9 , googleapis-common-protos
10 , grpcio
11 , protobuf
12 , requests
13 , semver
14 , toposort
16 #, async_exit_stack
17 #, dataclasses
18 , google-auth
19 , oauthlib
20 , prometheus-client
21 , pygments
22 , pyopenssl
23 , typing-extensions
26 buildPythonPackage rec {
27   pname = "dazl";
28   version = "7.11.0";
30   src = fetchPypi {
31     inherit pname version;
32     sha256 = "sha256-IErym/Fd8G75NOa+xOyV87UNmEaB31XPvg8GWCSP7k8=";
33   };
35   patches = [
36     # Merged, remove this next release
37     (fetchpatch {
38       url = "https://github.com/digital-asset/dazl-client/pull/428.patch";
39       sha256 = "sha256-Gx9W1XkvMPg8FAOAXijDF5QnMbntk5mR0q5+o5i2KAE=";
40     })
41   ];
43   format = "pyproject";
45   nativeBuildInputs = [
46     poetry-core
47   ];
49   propagatedBuildInputs = [
50     aiohttp
51     googleapis-common-protos
52     grpcio
53     protobuf
54     requests
55     semver
56     toposort
58     # optional
60     #async-exit-stack
61     #dataclasses
62     google-auth
63     oauthlib
64     prometheus-client
65     pygments
66     pyopenssl
67     typing-extensions
68   ];
70   meta = with lib; {
71     description = "High-level Ledger API client for Daml ledgers";
72     license = licenses.asl20;
73   };