3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.datadog: 0.43.0 -> 0.44.0

This commit is contained in:
Martin Weinelt 2022-03-05 22:20:36 +01:00
parent 291b6d4a0d
commit 10741a330b

View file

@ -2,6 +2,7 @@
, buildPythonPackage
, fetchPypi
, pythonOlder
, hatchling
, decorator
, requests
, typing ? null
@ -17,17 +18,22 @@
buildPythonPackage rec {
pname = "datadog";
version = "0.43.0";
version = "0.44.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "1f2123083d9e1add6f238c62714b76ac2fc134d7d1c435cd82b976487b191b96";
sha256 = "sha256-BxFw8MfvIlEdv3+b12xL5QDuLT1SBykApch7VJXSxzM=";
};
postPatch = ''
find . -name '*.pyc' -exec rm {} \;
'';
nativeBuildInputs = [
hatchling
];
propagatedBuildInputs = [ decorator requests ]
++ lib.optional (pythonOlder "3.5") typing
++ lib.optional (pythonOlder "3.0") configparser;