pythonPackages.influxdb: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-16 17:20:29 -04:00
committed by Frederik Rietdijk
parent f725650c69
commit c1f0f33fee
2 changed files with 30 additions and 18 deletions

View 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;
};
}