3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/datadog/default.nix
2018-12-03 16:50:41 +01:00

28 lines
607 B
Nix

{ lib, buildPythonPackage, fetchPypi
, decorator, requests, simplejson
, nose, mock }:
buildPythonPackage rec {
pname = "datadog";
version = "0.25.0";
src = fetchPypi {
inherit pname version;
sha256 = "e71f9024fb0b968bd704178c7e48fa41ce728281cc6913994db5e065596cddf1";
};
postPatch = ''
find . -name '*.pyc' -exec rm {} \;
'';
propagatedBuildInputs = [ decorator requests simplejson ];
checkInputs = [ nose mock ];
meta = with lib; {
description = "The Datadog Python library";
license = licenses.bsd3;
homepage = https://github.com/DataDog/datadogpy;
};
}