qgroundcontrol: 4.4.2 -> 4.4.3 (#360956)
[NixPkgs.git] / pkgs / development / python-modules / parfive / default.nix
blob4751f655974dfd72c15d19845cdcf42865e1887f
2   lib,
3   aiofiles,
4   aioftp,
5   aiohttp,
6   buildPythonPackage,
7   fetchPypi,
8   pytest-asyncio,
9   pytest-localserver,
10   pytest-socket,
11   pytestCheckHook,
12   pythonOlder,
13   setuptools-scm,
14   tqdm,
17 buildPythonPackage rec {
18   pname = "parfive";
19   version = "2.1.0";
20   format = "setuptools";
22   disabled = pythonOlder "3.7";
24   src = fetchPypi {
25     inherit pname version;
26     hash = "sha256-zWy0GSQhMHMM9B1M9vKE6/UPGnHObJUI4EZ+yY8X3I4=";
27   };
29   buildInputs = [ setuptools-scm ];
31   propagatedBuildInputs = [
32     aioftp
33     aiohttp
34     tqdm
35   ];
37   nativeCheckInputs = [
38     aiofiles
39     pytest-asyncio
40     pytest-localserver
41     pytest-socket
42     pytestCheckHook
43   ];
45   disabledTests = [
46     # Requires network access
47     "test_ftp"
48     "test_ftp_pasv_command"
49     "test_ftp_http"
50   ];
52   pythonImportsCheck = [ "parfive" ];
54   meta = with lib; {
55     description = "HTTP and FTP parallel file downloader";
56     mainProgram = "parfive";
57     homepage = "https://parfive.readthedocs.io/";
58     license = licenses.mit;
59     maintainers = [ ];
60   };