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.

41 lines
666 B
Nix
Raw Normal View History

2022-07-13 15:23:53 +00:00
{ lib
, fetchPypi
, buildPythonPackage
, dm-tree
, numpy
, absl-py
2023-01-20 00:01:29 +00:00
, pytestCheckHook
}:
2022-07-13 15:23:53 +00:00
buildPythonPackage rec {
pname = "dm-env";
2022-12-30 19:13:07 +00:00
version = "1.6";
2023-01-20 00:01:29 +00:00
format = "setuptools";
2022-07-13 15:23:53 +00:00
src = fetchPypi {
inherit pname version;
2023-01-20 00:01:29 +00:00
hash = "sha256-pDbrHGVMOeDJhqUWzuIYvqcUC1EPzv9j+X60/P89k94=";
2022-07-13 15:23:53 +00:00
};
buildInputs = [
absl-py
dm-tree
numpy
];
nativeCheckInputs = [
2023-01-20 00:01:29 +00:00
pytestCheckHook
2022-07-13 15:23:53 +00:00
];
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 ];
};
}