nixpkgs/pkgs/development/python-modules/influxdb/default.nix

30 lines
561 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, requests
, dateutil
, pytz
, six
}:
buildPythonPackage rec {
pname = "influxdb";
version = "5.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "1dp3fakzp0fqdajf6xsfmisdwj1avk4lvxjmw5k9wkhdbpi6vnbm";
};
# 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;
};
}