58f8944c92
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
46 lines
920 B
Nix
46 lines
920 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, isPy27
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, packaging
|
|
, appdirs
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pooch";
|
|
version = "1.0.0";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1k2vinlhkzl7lzhvbz20x3a2r2zqqila0yxg3a3fax2r6qxbxxzi";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
|
|
}
|