nixpkgs/pkgs/development/python-modules/dm-env/default.nix
2023-01-05 01:08:59 +01:00

39 lines
615 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, dm-tree
, numpy
, absl-py
, nose }:
buildPythonPackage rec {
pname = "dm-env";
version = "1.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-pDbrHGVMOeDJhqUWzuIYvqcUC1EPzv9j+X60/P89k94=";
};
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 ];
};
}