uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
66
pkgs/development/python-modules/datadog/default.nix
Normal file
66
pkgs/development/python-modules/datadog/default.nix
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, hatchling
|
||||
, decorator
|
||||
, requests
|
||||
, typing ? null
|
||||
, configparser
|
||||
, click
|
||||
, freezegun
|
||||
, mock
|
||||
, pytestCheckHook
|
||||
, pytest-vcr
|
||||
, python-dateutil
|
||||
, vcrpy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "datadog";
|
||||
version = "0.44.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
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;
|
||||
|
||||
checkInputs = [
|
||||
click
|
||||
freezegun
|
||||
mock
|
||||
pytestCheckHook
|
||||
pytest-vcr
|
||||
python-dateutil
|
||||
vcrpy
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/performance"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_default_settings_set"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "datadog" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The Datadog Python library";
|
||||
license = licenses.bsd3;
|
||||
homepage = "https://github.com/DataDog/datadogpy";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue