mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
python3Packages.datadog: 0.43.0 -> 0.44.0
This commit is contained in:
parent
291b6d4a0d
commit
10741a330b
1 changed files with 8 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, hatchling
|
||||||
, decorator
|
, decorator
|
||||||
, requests
|
, requests
|
||||||
, typing ? null
|
, typing ? null
|
||||||
|
@ -17,17 +18,22 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "datadog";
|
pname = "datadog";
|
||||||
version = "0.43.0";
|
version = "0.44.0";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1f2123083d9e1add6f238c62714b76ac2fc134d7d1c435cd82b976487b191b96";
|
sha256 = "sha256-BxFw8MfvIlEdv3+b12xL5QDuLT1SBykApch7VJXSxzM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
find . -name '*.pyc' -exec rm {} \;
|
find . -name '*.pyc' -exec rm {} \;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
hatchling
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ decorator requests ]
|
propagatedBuildInputs = [ decorator requests ]
|
||||||
++ lib.optional (pythonOlder "3.5") typing
|
++ lib.optional (pythonOlder "3.5") typing
|
||||||
++ lib.optional (pythonOlder "3.0") configparser;
|
++ lib.optional (pythonOlder "3.0") configparser;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue