1{ lib, buildPythonPackage, fetchPypi
2, decorator, requests, simplejson
3, nose, mock }:
4
5buildPythonPackage rec {
6 pname = "datadog";
7 version = "0.26.0";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "cbaa6b4b2b88fd552605e6730f60d5437017bb76d6b701432eaafbc983735b79";
12 };
13
14 postPatch = ''
15 find . -name '*.pyc' -exec rm {} \;
16 '';
17
18 propagatedBuildInputs = [ decorator requests simplejson ];
19
20 checkInputs = [ nose mock ];
21
22 meta = with lib; {
23 description = "The Datadog Python library";
24 license = licenses.bsd3;
25 homepage = https://github.com/DataDog/datadogpy;
26 };
27}