pythonPackages.influxdb: refactor move to python-modules
This commit is contained in:
committed by
Frederik Rietdijk
parent
f725650c69
commit
c1f0f33fee
29
pkgs/development/python-modules/influxdb/default.nix
Normal file
29
pkgs/development/python-modules/influxdb/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, requests
|
||||
, dateutil
|
||||
, pytz
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "influxdb";
|
||||
version = "4.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0injsml6zmb3hkgc03117fdlg573kbfgjbijpd5npf0vsy0xnpvz";
|
||||
};
|
||||
|
||||
# ImportError: No module named tests
|
||||
doCheck = false;
|
||||
propagatedBuildInputs = [ requests dateutil pytz six ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python client for InfluxDB";
|
||||
homepage = https://github.com/influxdb/influxdb-python;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user