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
53
pkgs/development/python-modules/influxdb-client/default.nix
Normal file
53
pkgs/development/python-modules/influxdb-client/default.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, rx
|
||||
, certifi
|
||||
, six
|
||||
, python-dateutil
|
||||
, setuptools
|
||||
, urllib3
|
||||
, ciso8601
|
||||
, pytz
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "influxdb-client";
|
||||
version = "1.27.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "influxdata";
|
||||
repo = "influxdb-client-python";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-M0Ob3HjIhlYSIWXGM54NXiEMSCmZzNLLNsCRyxAcjMc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
rx
|
||||
certifi
|
||||
six
|
||||
python-dateutil
|
||||
setuptools
|
||||
urllib3
|
||||
ciso8601
|
||||
pytz
|
||||
];
|
||||
|
||||
# requires influxdb server
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"influxdb_client"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "InfluxDB 2.0 Python client library";
|
||||
homepage = "https://github.com/influxdata/influxdb-client-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mic92 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue