summary refs log tree commit diff
path: root/pkgs/development/python-modules/dm-env/default.nix
blob: 92c234c215c389618ad20245b64206997990e81f (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
{ lib
, fetchPypi
, buildPythonPackage
, dm-tree
, numpy
, absl-py
, nose }:

buildPythonPackage rec {
  pname = "dm-env";
  version = "1.5";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-Pv2ZsGUlY1mVB8QV1ItRiWyIvi8BwrYlCvi6tRVx41M=";
  };

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

  checkInputs = [
    nose
  ];

  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 ];
  };
}