depot/third_party/nixpkgs/pkgs/development/python-modules/fastdownload/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

32 lines
698 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, fastprogress
, fastcore
, pythonOlder
}:
buildPythonPackage rec {
pname = "fastdownload";
version = "0.0.7";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-IFB+246JQGofvXd15uKj2BpN1jPdUGsOnPDhYT6DHWo=";
};
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 ];
};
}