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