nixpkgs/pkgs/development/python-modules/dm-env/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
615 B
Nix
Raw Normal View History

2022-07-13 17:23:53 +02:00
{ 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 ];
};
}