about summary refs log tree commit diff
path: root/pkgs/development/python-modules/quandl/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/quandl/default.nix')
-rw-r--r--pkgs/development/python-modules/quandl/default.nix51
1 files changed, 23 insertions, 28 deletions
diff --git a/pkgs/development/python-modules/quandl/default.nix b/pkgs/development/python-modules/quandl/default.nix
index 85a8fdd12bcc..ea7a305eb377 100644
--- a/pkgs/development/python-modules/quandl/default.nix
+++ b/pkgs/development/python-modules/quandl/default.nix
@@ -1,22 +1,23 @@
-{ lib
-, buildPythonPackage
-, factory-boy
-, faker
-, fetchPypi
-, httpretty
-, importlib-metadata
-, inflection
-, jsondate
-, mock
-, more-itertools
-, numpy
-, pandas
-, parameterized
-, pytestCheckHook
-, python-dateutil
-, pythonOlder
-, requests
-, six
+{
+  lib,
+  buildPythonPackage,
+  factory-boy,
+  faker,
+  fetchPypi,
+  httpretty,
+  importlib-metadata,
+  inflection,
+  jsondate,
+  mock,
+  more-itertools,
+  numpy,
+  pandas,
+  parameterized,
+  pytestCheckHook,
+  python-dateutil,
+  pythonOlder,
+  requests,
+  six,
 }:
 
 buildPythonPackage rec {
@@ -32,9 +33,7 @@ buildPythonPackage rec {
     hash = "sha256-bguC+8eGFhCzV3xTlyd8QiDgZe7g/tTkbNa2AhZVtkw=";
   };
 
-  patches = [
-    ./pandas2-datetime-removal.patch
-  ];
+  patches = [ ./pandas2-datetime-removal.patch ];
 
   propagatedBuildInputs = [
     pandas
@@ -44,9 +43,7 @@ buildPythonPackage rec {
     python-dateutil
     six
     more-itertools
-  ] ++ lib.optionals (pythonOlder "3.8") [
-    importlib-metadata
-  ];
+  ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
 
   nativeCheckInputs = [
     factory-boy
@@ -58,9 +55,7 @@ buildPythonPackage rec {
     pytestCheckHook
   ];
 
-  pythonImportsCheck = [
-    "quandl"
-  ];
+  pythonImportsCheck = [ "quandl" ];
 
   meta = with lib; {
     description = "Quandl Python client library";