python3Packages.downloader-cli: init at 0.3.1

This commit is contained in:
Johannes Arnold 2021-06-15 23:42:20 +02:00
parent f05fba8db0
commit 4c7a1acd2a
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib, buildPythonPackage, fetchFromGitHub, urllib3, pytest }:
buildPythonPackage rec {
pname = "downloader-cli";
version = "0.3.1";
src = fetchFromGitHub {
owner = "deepjyoti30";
repo = pname;
rev = version;
sha256 = "0gbbjxb9vf5g890cls3mwzl8lmcn6jkpgm5cbrif740mn2b4q228";
};
propagatedBuildInputs = [ urllib3 ];
# Disable checks due to networking (Errno 101)
doCheck = false;
pythonImportsCheck = [ "downloader_cli" ];
meta = with lib; {
description = "A simple downloader written in Python with an awesome customizable progressbar. ";
homepage = "https://github.com/deepjyoti30/downloader-cli";
license = licenses.mit;
maintainers = with maintainers; [ j0hax ];
};
}

View file

@ -2132,6 +2132,8 @@ in {
dotmap = callPackage ../development/python-modules/dotmap { };
downloader-cli = callPackage ../development/python-modules/downloader-cli { };
dparse = callPackage ../development/python-modules/dparse { };
dpath = callPackage ../development/python-modules/dpath { };