1{ lib 2, fetchPypi 3, buildPythonPackage 4, chardet 5, configparser 6, datadog 7, requests 8, python 9}: 10 11buildPythonPackage rec { 12 pname = "gradient_statsd"; 13 version = "1.0.1"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "iWlNX43ZtvU73wz4+8DgDulQNOnssJGxTBkvAaLj530="; 18 }; 19 20 propagatedBuildInputs = [ 21 chardet 22 datadog 23 requests 24 ] 25 ++ lib.optional python.isPy2 configparser; 26 27 pythonImportsCheck = [ "gradient_statsd" ]; 28 29 # Pypi does not contain tests 30 doCheck = false; 31 32 meta = with lib; { 33 description = "Wrapper around the DogStatsd client"; 34 homepage = "https://paperspace.com"; 35 license = licenses.mit; 36 platforms = platforms.unix; 37 maintainers = with maintainers; [ freezeboy ]; 38 }; 39}