2018-10-30 08:42:37 -07:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2018-04-06 09:59:50 -07:00
|
|
|
, decorator, requests, simplejson
|
|
|
|
, nose, mock }:
|
2018-03-31 03:40:01 -07:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "datadog";
|
2019-02-13 23:37:13 -08:00
|
|
|
version = "0.26.0";
|
2018-03-31 03:40:01 -07:00
|
|
|
|
2018-10-30 08:42:37 -07:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-13 23:37:13 -08:00
|
|
|
sha256 = "cbaa6b4b2b88fd552605e6730f60d5437017bb76d6b701432eaafbc983735b79";
|
2018-03-31 03:40:01 -07:00
|
|
|
};
|
|
|
|
|
2018-11-29 03:45:50 -08:00
|
|
|
postPatch = ''
|
|
|
|
find . -name '*.pyc' -exec rm {} \;
|
|
|
|
'';
|
|
|
|
|
2018-04-06 09:59:50 -07:00
|
|
|
propagatedBuildInputs = [ decorator requests simplejson ];
|
2018-03-31 03:40:01 -07:00
|
|
|
|
2018-04-06 09:59:50 -07:00
|
|
|
checkInputs = [ nose mock ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2018-03-31 03:40:01 -07:00
|
|
|
description = "The Datadog Python library";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
homepage = https://github.com/DataDog/datadogpy;
|
|
|
|
};
|
|
|
|
}
|