Merge pull request #258468 from pacien/mediafire-dl-init
python3Packages.mediafire-dl: init at 2023-09-07
This commit is contained in:
commit
4f21d76bb8
2 changed files with 39 additions and 0 deletions
37
pkgs/development/python-modules/mediafire-dl/default.nix
Normal file
37
pkgs/development/python-modules/mediafire-dl/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, requests
|
||||
, six
|
||||
, tqdm
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "mediafire-dl";
|
||||
version = "unstable-2023-09-07";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Juvenal-Yescas";
|
||||
repo = "mediafire-dl";
|
||||
rev = "bf9d461f43c5d5dc2900e08bcd4202a597a07ca0";
|
||||
hash = "sha256-9qACTNMkO/CH/qB6WiggIKwSiFIccgU7CH0UeGUaFb4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
six
|
||||
tqdm
|
||||
];
|
||||
|
||||
pythonImportCheck = [
|
||||
"mediafire_dl"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple command-line script to download files from mediafire based on gdown";
|
||||
homepage = "https://github.com/Juvenal-Yescas/mediafire-dl";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ pacien ];
|
||||
mainProgram = "mediafire-dl";
|
||||
};
|
||||
}
|
|
@ -6836,6 +6836,8 @@ self: super: with self; {
|
|||
|
||||
mediafile = callPackage ../development/python-modules/mediafile { };
|
||||
|
||||
mediafire-dl = callPackage ../development/python-modules/mediafire-dl { };
|
||||
|
||||
mediapy = callPackage ../development/python-modules/mediapy { };
|
||||
|
||||
meeko = callPackage ../development/python-modules/meeko { };
|
||||
|
|
Loading…
Reference in a new issue