Files
nixpkgs/pkgs/development/python-modules/mediafire-dl/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

38 lines
803 B
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
requests,
six,
tqdm,
}:
buildPythonPackage {
pname = "mediafire-dl";
version = "unstable-2023-09-07";
format = "setuptools";
src = fetchFromGitHub {
owner = "Juvenal-Yescas";
repo = "mediafire-dl";
rev = "bf9d461f43c5d5dc2900e08bcd4202a597a07ca0";
hash = "sha256-9qACTNMkO/CH/qB6WiggIKwSiFIccgU7CH0UeGUaFb4=";
};
propagatedBuildInputs = [
requests
six
tqdm
];
pythonImportsCheck = [ "mediafire_dl" ];
meta = {
description = "Simple command-line script to download files from mediafire based on gdown";
homepage = "https://github.com/Juvenal-Yescas/mediafire-dl";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ euxane ];
mainProgram = "mediafire-dl";
};
}