
If a Python package does not come with either `format` or `pyproject` we consider it a setuptools build, that calls `setup.py` directly, which is deprecated. This change, as a first step, migrates a large chunk of these packages to set setuptools as their explicit format This is so we can unify the problem space for the next step of the migration.
38 lines
805 B
Nix
38 lines
805 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 = 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; [ euxane ];
|
|
mainProgram = "mediafire-dl";
|
|
};
|
|
}
|