2020-08-27 11:49:48 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, isPy27
|
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
|
|
|
, packaging
|
|
|
|
, appdirs
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pooch";
|
2020-11-29 14:04:36 +00:00
|
|
|
version = "1.3.0";
|
2020-08-27 11:49:48 +01:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:36 +00:00
|
|
|
sha256 = "30d448e825904e2d763bbbe418831a788813c32f636b21c8d60ee5f474532898";
|
2020-08-27 11:49:48 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ packaging appdirs requests ];
|
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
disabledTests = [
|
|
|
|
"pooch_custom_url"
|
|
|
|
"pooch_download"
|
|
|
|
"pooch_logging_level"
|
|
|
|
"pooch_update"
|
|
|
|
"pooch_corrupted"
|
|
|
|
"check_availability"
|
|
|
|
"downloader"
|
|
|
|
"test_fetch"
|
|
|
|
"decompress"
|
|
|
|
"extractprocessor_fails"
|
|
|
|
"processor"
|
|
|
|
"integration"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A friend to fetch your data files.";
|
|
|
|
homepage = "https://github.com/fatiando/pooch";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ GuillaumeDesforges ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|