depot/third_party/nixpkgs/pkgs/development/python-modules/dazl/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

73 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
fetchpatch,
poetry-core,
aiohttp,
googleapis-common-protos,
grpcio,
protobuf,
requests,
semver,
toposort,
#, async_exit_stack
#, dataclasses
google-auth,
oauthlib,
prometheus-client,
pygments,
pyopenssl,
typing-extensions,
}:
buildPythonPackage rec {
pname = "dazl";
version = "7.11.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-IErym/Fd8G75NOa+xOyV87UNmEaB31XPvg8GWCSP7k8=";
};
patches = [
# Merged, remove this next release
(fetchpatch {
url = "https://github.com/digital-asset/dazl-client/pull/428.patch";
sha256 = "sha256-Gx9W1XkvMPg8FAOAXijDF5QnMbntk5mR0q5+o5i2KAE=";
})
];
format = "pyproject";
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
aiohttp
googleapis-common-protos
grpcio
protobuf
requests
semver
toposort
# optional
#async-exit-stack
#dataclasses
google-auth
oauthlib
prometheus-client
pygments
pyopenssl
typing-extensions
];
meta = with lib; {
description = "High-level Ledger API client for Daml ledgers";
license = licenses.asl20;
};
}