blob: 25efef9ef081badcb15aa6241c79e64ba3638eb7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{ lib
, buildPythonPackage
, isPy27
, fetchPypi
, setuptools-scm
, pytestCheckHook
, packaging
, appdirs
, requests
}:
buildPythonPackage rec {
pname = "pooch";
version = "1.4.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "f827e79ab51b21a8964a4b1ea8972aa4a1079cb9c1ff8e9ec61893eb7dab50cb";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ packaging appdirs requests ];
preCheck = "HOME=$TMPDIR";
checkInputs = [ pytestCheckHook ];
# tries to touch network
disabledTests = [
"pooch_custom_url"
"pooch_download"
"pooch_logging_level"
"pooch_update"
"pooch_corrupted"
"check_availability"
"downloader"
"test_retrieve"
"test_stream_download"
"test_fetch"
"decompress"
"extractprocessor_fails"
"processor"
"integration"
];
meta = with lib; {
description = "A friend to fetch your data files.";
homepage = "https://github.com/fatiando/pooch";
license = licenses.bsd3;
maintainers = with maintainers; [ GuillaumeDesforges ];
};
}
|