1{ lib 2, buildPythonPackage 3, certifi 4, chardet 5, datadog 6, decorator 7, fetchPypi 8, idna 9, requests 10, urllib3 11, pythonOlder 12}: 13 14buildPythonPackage rec { 15 pname = "gradient-statsd"; 16 version = "1.0.1"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 pname = "gradient_statsd"; 23 inherit version; 24 hash = "sha256-iWlNX43ZtvU73wz4+8DgDulQNOnssJGxTBkvAaLj530="; 25 }; 26 27 propagatedBuildInputs = [ 28 certifi 29 chardet 30 datadog 31 decorator 32 idna 33 requests 34 urllib3 35 ]; 36 37 pythonImportsCheck = [ 38 "gradient_statsd" 39 ]; 40 41 # Pypi does not contain tests 42 doCheck = false; 43 44 meta = with lib; { 45 description = "Wrapper around the DogStatsd client"; 46 homepage = "https://paperspace.com"; 47 license = licenses.mit; 48 maintainers = with maintainers; [ freezeboy ]; 49 platforms = platforms.unix; 50 }; 51}