pythonPackages.quandl: Cleanup, fix inputs
This commit is contained in:
		
							parent
							
								
									00956f5b73
								
							
						
					
					
						commit
						ff30fcecfe
					
				@ -1,11 +1,10 @@
 | 
			
		||||
{
 | 
			
		||||
  lib, fetchPypi, buildPythonPackage, isPy3k, pythonOlder,
 | 
			
		||||
  # runtime dependencies
 | 
			
		||||
  pandas, numpy, requests, inflection, python-dateutil, six, more-itertools, importlib-metadata,
 | 
			
		||||
  # test suite dependencies
 | 
			
		||||
  nose, unittest2, flake8, httpretty, mock, jsondate, parameterized, faker, factory_boy,
 | 
			
		||||
  # additional runtime dependencies are required on Python 2.x
 | 
			
		||||
  pyOpenSSL ? null, ndg-httpsclient ? null, pyasn1 ? null
 | 
			
		||||
{ lib, fetchPypi, buildPythonPackage, isPy3k, pythonOlder
 | 
			
		||||
# runtime dependencies
 | 
			
		||||
, pandas, numpy, requests, inflection, python-dateutil, six, more-itertools, importlib-metadata
 | 
			
		||||
# test suite dependencies
 | 
			
		||||
, nose, unittest2, flake8, httpretty, mock, jsondate, parameterized, faker, factory_boy
 | 
			
		||||
# additional runtime dependencies are required on Python 2.x
 | 
			
		||||
, pyopenssl, ndg-httpsclient, pyasn1
 | 
			
		||||
}:
 | 
			
		||||
 | 
			
		||||
buildPythonPackage rec {
 | 
			
		||||
@ -19,8 +18,6 @@ buildPythonPackage rec {
 | 
			
		||||
    sha256 = "0zpw0nwqr4g56l9z4my0fahfgpcmfx74acbmv6nfx1dmq5ggraf3";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  doCheck = true;
 | 
			
		||||
 | 
			
		||||
  checkInputs = [
 | 
			
		||||
    nose
 | 
			
		||||
    unittest2
 | 
			
		||||
@ -42,7 +39,7 @@ buildPythonPackage rec {
 | 
			
		||||
    six
 | 
			
		||||
    more-itertools
 | 
			
		||||
  ] ++ lib.optionals (!isPy3k) [
 | 
			
		||||
    pyOpenSSL
 | 
			
		||||
    pyopenssl
 | 
			
		||||
    ndg-httpsclient
 | 
			
		||||
    pyasn1
 | 
			
		||||
  ] ++ lib.optionals (pythonOlder "3.8") [
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user