File tree Expand file tree Collapse file tree 1 file changed +29
-32
lines changed
pkgs/development/python-modules/dazl Expand file tree Collapse file tree 1 file changed +29
-32
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
33 buildPythonPackage ,
4- fetchPypi ,
5-
4+ fetchFromGitHub ,
65 poetry-core ,
7-
8- aiohttp ,
96 googleapis-common-protos ,
107 grpcio ,
118 protobuf ,
12- requests ,
139 semver ,
14- toposort ,
15-
16- #, async_exit_stack
17- #, dataclasses
18- google-auth ,
19- oauthlib ,
20- prometheus-client ,
2110 pygments ,
2211 pyopenssl ,
2312 typing-extensions ,
13+ pytestCheckHook ,
14+ pyyaml ,
2415} :
2516
2617buildPythonPackage rec {
2718 pname = "dazl" ;
28- version = "8.0.0 " ;
19+ version = "8.2.1 " ;
2920 pyproject = true ;
3021
31- src = fetchPypi {
32- inherit pname version ;
33- hash = "sha256-2EXbfXNl/vNhOIKfBv18TKMPizab72LlNV7QhEf4aVs=" ;
22+ src = fetchFromGitHub {
23+ owner = "digital-asset" ;
24+ repo = "dazl-client" ;
25+ tag = "v${ version } " ;
26+ hash = "sha256-JeAdg+OW3Zd275zIYDmfBaF7RWEb+sLQ7xFIl67L2R8=" ;
3427 } ;
3528
3629 pythonRelaxDeps = [
3730 "grpcio"
3831 ] ;
3932
40- nativeBuildInputs = [ poetry-core ] ;
33+ build-system = [ poetry-core ] ;
4134
42- propagatedBuildInputs = [
43- aiohttp
35+ dependencies = [
4436 googleapis-common-protos
4537 grpcio
4638 protobuf
47- requests
4839 semver
49- toposort
40+ typing-extensions
41+ ] ;
5042
51- # optional
43+ optional-dependencies = {
44+ pygments = [ pygments ] ;
45+ tls-testing = [ pyopenssl ] ;
46+ } ;
5247
53- #async-exit-stack
54- #dataclasses
55- google-auth
56- oauthlib
57- prometheus-client
58- pygments
59- pyopenssl
60- typing-extensions
48+ pythonImportsCheck = [ "dazl" ] ;
49+
50+ # daml: command not found
51+ doCheck = false ;
52+
53+ nativeCheckInputs = [
54+ pytestCheckHook
55+ pyyaml
6156 ] ;
6257
63- meta = with lib ; {
58+ meta = {
6459 description = "High-level Ledger API client for Daml ledgers" ;
65- license = licenses . asl20 ;
60+ license = lib . licenses . asl20 ;
61+ homepage = "https://github.com/digital-asset/dazl-client" ;
62+ changelog = "https://github.com/digital-asset/dazl-client/releases/tag/v${ version } " ;
6663 } ;
6764}
You can’t perform that action at this time.
0 commit comments