python310Packages.dm-env: init at 1.5

This commit is contained in:
Jonas Heinrich 2022-07-13 17:23:53 +02:00 committed by Yt
parent c693205c03
commit 80756c01c6
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,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 ];
};
}

View File

@ -2523,6 +2523,8 @@ in {
dmenu-python = callPackage ../development/python-modules/dmenu { };
dm-env = callPackage ../development/python-modules/dm-env { };
dm-haiku = callPackage ../development/python-modules/dm-haiku { };
dm-tree = callPackage ../development/python-modules/dm-tree {