Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 63 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ lib, aiofiles, aioftp, aiohttp, buildPythonPackage, fetchPypi, pytest-asyncio, pytest-localserver, pytest-socket, pytestCheckHook, pythonOlder, setuptools-scm, tqdm}:
buildPythonPackage rec { pname = "parfive"; version = "2.0.2"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-kIIR+cXLUtyLJ5YmhyCV88zhXahok/U7QXbezt3PyF0="; };
buildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ aioftp aiohttp tqdm ];
nativeCheckInputs = [ aiofiles pytest-asyncio pytest-localserver pytest-socket pytestCheckHook ];
disabledTests = [ # Requires network access "test_ftp" "test_ftp_pasv_command" "test_ftp_http" ];
pythonImportsCheck = [ "parfive" ];
meta = with lib; { description = "A HTTP and FTP parallel file downloader"; homepage = "https://parfive.readthedocs.io/"; license = licenses.mit; maintainers = with maintainers; [ ]; };}