1{ lib
2, buildPythonPackage
3, fetchPypi
4, fastprogress
5, fastcore
6, pythonOlder
7}:
8
9buildPythonPackage rec {
10 pname = "fastdownload";
11 version = "0.0.7";
12 format = "setuptools";
13 disabled = pythonOlder "3.6";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "sha256-IFB+246JQGofvXd15uKj2BpN1jPdUGsOnPDhYT6DHWo=";
18 };
19
20 propagatedBuildInputs = [ fastprogress fastcore ];
21
22 # no real tests
23 doCheck = false;
24 pythonImportsCheck = [ "fastdownload" ];
25
26 meta = with lib; {
27 homepage = "https://github.com/fastai/fastdownload";
28 description = "Easily download, verify, and extract archives";
29 license = licenses.asl20;
30 maintainers = with maintainers; [ rxiao ];
31 };
32}