504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
37 lines
778 B
Nix
37 lines
778 B
Nix
{ 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
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"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";
|
|
};
|
|
}
|