depot/third_party/nixpkgs/pkgs/development/python-modules/downloader-cli/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

39 lines
775 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, urllib3
, pythonOlder
}:
buildPythonPackage rec {
pname = "downloader-cli";
version = "0.3.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "deepjyoti30";
repo = pname;
rev = version;
hash = "sha256-Dl5XIvdZInz+edL9uQv7V6Kc6FB+7hFAGe/nybnqvQU=";
};
propagatedBuildInputs = [
urllib3
];
# Disable checks due to networking (Errno 101)
doCheck = false;
pythonImportsCheck = [
"downloader_cli"
];
meta = with lib; {
description = "Downloader with an awesome customizable progressbar";
homepage = "https://github.com/deepjyoti30/downloader-cli";
license = licenses.mit;
maintainers = with maintainers; [ j0hax ];
};
}