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