2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchPypi,
|
|
|
|
buildPythonPackage,
|
|
|
|
dm-tree,
|
|
|
|
numpy,
|
|
|
|
absl-py,
|
|
|
|
pytestCheckHook,
|
2023-01-20 10:41:00 +00:00
|
|
|
}:
|
2022-07-18 16:21:45 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dm-env";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "1.6";
|
|
|
|
format = "setuptools";
|
2022-07-18 16:21:45 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-01-20 10:41:00 +00:00
|
|
|
hash = "sha256-pDbrHGVMOeDJhqUWzuIYvqcUC1EPzv9j+X60/P89k94=";
|
2022-07-18 16:21:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
absl-py
|
|
|
|
dm-tree
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2022-07-18 16:21:45 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "dm_env" ];
|
2022-07-18 16:21:45 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pure Python client for Apache Kafka";
|
|
|
|
homepage = "https://github.com/dpkp/kafka-python";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ onny ];
|
|
|
|
};
|
|
|
|
}
|