2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
fetchpatch,
|
2024-02-29 20:09:43 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
poetry-core,
|
2024-02-29 20:09:43 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
aiohttp,
|
|
|
|
googleapis-common-protos,
|
|
|
|
grpcio,
|
|
|
|
protobuf,
|
|
|
|
requests,
|
|
|
|
semver,
|
|
|
|
toposort,
|
2024-02-29 20:09:43 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
#, async_exit_stack
|
|
|
|
#, dataclasses
|
|
|
|
google-auth,
|
|
|
|
oauthlib,
|
|
|
|
prometheus-client,
|
|
|
|
pygments,
|
|
|
|
pyopenssl,
|
|
|
|
typing-extensions,
|
2024-02-29 20:09:43 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
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";
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ poetry-core ];
|
2024-02-29 20:09:43 +00:00
|
|
|
|
|
|
|
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";
|
2024-04-21 15:54:59 +00:00
|
|
|
license = licenses.asl20;
|
2024-02-29 20:09:43 +00:00
|
|
|
};
|
|
|
|
}
|