2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
fastprogress,
|
|
|
|
fastcore,
|
|
|
|
pythonOlder,
|
2023-03-08 16:32:21 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fastdownload";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "0.0.7";
|
2023-03-08 16:32:21 +00:00
|
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-IFB+246JQGofvXd15uKj2BpN1jPdUGsOnPDhYT6DHWo=";
|
2023-03-08 16:32:21 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
fastprogress
|
|
|
|
fastcore
|
|
|
|
];
|
2023-03-08 16:32:21 +00:00
|
|
|
|
|
|
|
# no real tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "fastdownload" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/fastai/fastdownload";
|
|
|
|
description = "Easily download, verify, and extract archives";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ rxiao ];
|
|
|
|
};
|
|
|
|
}
|