From 5551af487ff9581bedf3079ac6ac5ce8245b8572 Mon Sep 17 00:00:00 2001 From: Ilya Kolpakov Date: Thu, 14 Dec 2017 15:28:19 +0100 Subject: [PATCH] pythonPackages.quandl: comment on why gitihub and not pypi (3.2.1) --- pkgs/development/python-modules/quandl/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/quandl/default.nix b/pkgs/development/python-modules/quandl/default.nix index 0184d25e31b..e85e9c4e0f8 100644 --- a/pkgs/development/python-modules/quandl/default.nix +++ b/pkgs/development/python-modules/quandl/default.nix @@ -8,18 +8,16 @@ pyOpenSSL ? null, ndg-httpsclient ? null, pyasn1 ? null }: -let +buildPythonPackage rec { + pname = "quandl"; version = "3.2.1"; sha256 = "0vc0pzs2px9yaqkqcmd2m1b2bq1iils8fs0xbl0989hjq791a4jr"; -in buildPythonPackage rec { - pname = "quandl"; - inherit version; - patches = [ ./allow-requests-v2.18.patch ]; + # Tests do not work with fetchPypi src = fetchFromGitHub { - owner = "quandl"; + owner = pname; repo = "quandl-python"; rev = "refs/tags/v${version}"; inherit sha256;