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