1{ lib 2, fetchPypi 3, buildPythonPackage 4, dm-tree 5, numpy 6, absl-py 7, nose }: 8 9buildPythonPackage rec { 10 pname = "dm-env"; 11 version = "1.5"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "sha256-Pv2ZsGUlY1mVB8QV1ItRiWyIvi8BwrYlCvi6tRVx41M="; 16 }; 17 18 buildInputs = [ 19 absl-py 20 dm-tree 21 numpy 22 ]; 23 24 checkInputs = [ 25 nose 26 ]; 27 28 pythonImportsCheck = [ 29 "dm_env" 30 ]; 31 32 meta = with lib; { 33 description = "Pure Python client for Apache Kafka"; 34 homepage = "https://github.com/dpkp/kafka-python"; 35 license = licenses.asl20; 36 maintainers = with maintainers; [ onny ]; 37 }; 38}