mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #263614 from obsidiansystems/dazl
python3Packages.dazl: init at 7.11.0
This commit is contained in:
commit
5e8bb6c92e
74
pkgs/development/python-modules/dazl/default.nix
Normal file
74
pkgs/development/python-modules/dazl/default.nix
Normal file
@ -0,0 +1,74 @@
|
||||
{ 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.apsl20;
|
||||
};
|
||||
}
|
@ -2708,6 +2708,8 @@ self: super: with self; {
|
||||
|
||||
dawg-python = callPackage ../development/python-modules/dawg-python { };
|
||||
|
||||
dazl = callPackage ../development/python-modules/dazl { };
|
||||
|
||||
dbf = callPackage ../development/python-modules/dbf { };
|
||||
|
||||
dbfread = callPackage ../development/python-modules/dbfread { };
|
||||
|
Loading…
Reference in New Issue
Block a user