Unverified Commit 7553ba3f authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

python3Packages.dazl: 8.0.0 -> 8.2.1 (#405042)

parents 90b263d1 dbb781fd
Loading
Loading
Loading
Loading
+29 −32
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,

  fetchFromGitHub,
  poetry-core,

  aiohttp,
  googleapis-common-protos,
  grpcio,
  protobuf,
  requests,
  semver,
  toposort,

  #, async_exit_stack
  #, dataclasses
  google-auth,
  oauthlib,
  prometheus-client,
  pygments,
  pyopenssl,
  typing-extensions,
  pytestCheckHook,
  pyyaml,
}:

buildPythonPackage rec {
  pname = "dazl";
  version = "8.0.0";
  version = "8.2.1";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-2EXbfXNl/vNhOIKfBv18TKMPizab72LlNV7QhEf4aVs=";
  src = fetchFromGitHub {
    owner = "digital-asset";
    repo = "dazl-client";
    tag = "v${version}";
    hash = "sha256-JeAdg+OW3Zd275zIYDmfBaF7RWEb+sLQ7xFIl67L2R8=";
  };

  pythonRelaxDeps = [
    "grpcio"
  ];

  nativeBuildInputs = [ poetry-core ];
  build-system = [ poetry-core ];

  propagatedBuildInputs = [
    aiohttp
  dependencies = [
    googleapis-common-protos
    grpcio
    protobuf
    requests
    semver
    toposort
    typing-extensions
  ];

    # optional
  optional-dependencies = {
    pygments = [ pygments ];
    tls-testing = [ pyopenssl ];
  };

    #async-exit-stack
    #dataclasses
    google-auth
    oauthlib
    prometheus-client
    pygments
    pyopenssl
    typing-extensions
  pythonImportsCheck = [ "dazl" ];

  # daml: command not found
  doCheck = false;

  nativeCheckInputs = [
    pytestCheckHook
    pyyaml
  ];

  meta = with lib; {
  meta = {
    description = "High-level Ledger API client for Daml ledgers";
    license = licenses.asl20;
    license = lib.licenses.asl20;
    homepage = "https://github.com/digital-asset/dazl-client";
    changelog = "https://github.com/digital-asset/dazl-client/releases/tag/v${version}";
  };
}