dae973cb59
GitOrigin-RevId: c90c4025bb6e0c4eaf438128a3b2640314b1c58d
32 lines
698 B
Nix
32 lines
698 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, fastprogress
|
|
, fastcore
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "fastdownload";
|
|
version = "0.0.6";
|
|
format = "setuptools";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-1ayb0zx8rFKDgqlq/tVVLqDkh47T5jofHt53r8bWr30=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ fastprogress fastcore ];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|