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