python3.pkgs.influxdb: fix build

This commit is contained in:
Jörg Thalheim 2020-06-20 06:05:36 +01:00
parent 26e9a3498b
commit d690aa8ecd
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

View File

@ -5,6 +5,8 @@
, dateutil , dateutil
, pytz , pytz
, six , six
, msgpack
, fetchpatch
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -16,9 +18,16 @@ buildPythonPackage rec {
sha256 = "9bcaafd57ac152b9824ab12ed19f204206ef5df8af68404770554c5b55b475f6"; sha256 = "9bcaafd57ac152b9824ab12ed19f204206ef5df8af68404770554c5b55b475f6";
}; };
patches = [
(fetchpatch {
url = "https://github.com/influxdata/influxdb-python/commit/cc41e290f690c4eb67f75c98fa9f027bdb6eb16b.patch";
sha256 = "1fb9qrq1kp24pixjwvzhdy67z3h0wnj92aj0jw0a25fd0rdxdvg4";
})
];
# ImportError: No module named tests # ImportError: No module named tests
doCheck = false; doCheck = false;
propagatedBuildInputs = [ requests dateutil pytz six ]; propagatedBuildInputs = [ requests dateutil pytz six msgpack ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Python client for InfluxDB"; description = "Python client for InfluxDB";