summary refs log tree commit diff
path: root/pkgs/development/python-modules/dm-env/default.nix
blob: a11d35495575e327f71f6679e2a8bb99338c2fa3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ lib
, fetchPypi
, buildPythonPackage
, dm-tree
, numpy
, absl-py
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "dm-env";
  version = "1.6";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-pDbrHGVMOeDJhqUWzuIYvqcUC1EPzv9j+X60/P89k94=";
  };

  buildInputs = [
    absl-py
    dm-tree
    numpy
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "dm_env"
  ];

  meta = with lib; {
    description = "Pure Python client for Apache Kafka";
    homepage = "https://github.com/dpkp/kafka-python";
    license = licenses.asl20;
    maintainers = with maintainers; [ onny ];
  };
}