1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 dm-tree,
6 numpy,
7 absl-py,
8 pytestCheckHook,
9}:
10
11buildPythonPackage rec {
12 pname = "dm-env";
13 version = "1.6";
14 format = "setuptools";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-pDbrHGVMOeDJhqUWzuIYvqcUC1EPzv9j+X60/P89k94=";
19 };
20
21 buildInputs = [
22 absl-py
23 dm-tree
24 numpy
25 ];
26
27 nativeCheckInputs = [ pytestCheckHook ];
28
29 pythonImportsCheck = [ "dm_env" ];
30
31 meta = with lib; {
32 description = "Pure Python client for Apache Kafka";
33 homepage = "https://github.com/dpkp/kafka-python";
34 license = licenses.asl20;
35 maintainers = with maintainers; [ onny ];
36 };
37}