1{ stdenv
2, buildPythonPackage
3, isPy27
4, fetchPypi
5, pytestCheckHook
6, packaging
7, appdirs
8, requests
9}:
10
11buildPythonPackage rec {
12 pname = "pooch";
13 version = "1.0.0";
14 disabled = isPy27;
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "1k2vinlhkzl7lzhvbz20x3a2r2zqqila0yxg3a3fax2r6qxbxxzi";
19 };
20
21 propagatedBuildInputs = [ packaging appdirs requests ];
22
23 checkInputs = [ pytestCheckHook ];
24 disabledTests = [
25 "pooch_custom_url"
26 "pooch_download"
27 "pooch_logging_level"
28 "pooch_update"
29 "pooch_corrupted"
30 "check_availability"
31 "downloader"
32 "test_fetch"
33 "decompress"
34 "extractprocessor_fails"
35 "processor"
36 "integration"
37 ];
38
39 meta = with stdenv.lib; {
40 description = "A friend to fetch your data files.";
41 homepage = "https://github.com/fatiando/pooch";
42 license = licenses.bsd3;
43 maintainers = with maintainers; [ GuillaumeDesforges ];
44 };
45
46}