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