2023-05-25 14:07:31 +00:00
|
|
|
{ lib, python3Packages, fetchPypi }:
|
2022-07-26 04:20:00 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "scdl";
|
2024-08-23 17:13:24 +00:00
|
|
|
version = "2.12.1";
|
2024-05-26 06:16:24 +00:00
|
|
|
pyproject = true;
|
2022-07-26 04:20:00 +00:00
|
|
|
|
2023-05-25 14:07:31 +00:00
|
|
|
src = fetchPypi {
|
2022-07-26 04:20:00 +00:00
|
|
|
inherit pname version;
|
2024-08-23 17:13:24 +00:00
|
|
|
hash = "sha256-8BMO5/XJdAkz/E1ZDXavJudNSOiZdYLcZVMk1S8g9nU=";
|
2022-07-26 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
2024-05-26 06:16:24 +00:00
|
|
|
build-system = [ python3Packages.setuptools ];
|
|
|
|
|
|
|
|
dependencies = with python3Packages; [
|
2024-07-19 18:55:47 +00:00
|
|
|
docopt-ng
|
2022-07-26 04:20:00 +00:00
|
|
|
mutagen
|
|
|
|
termcolor
|
|
|
|
requests
|
2024-07-19 18:55:47 +00:00
|
|
|
tqdm
|
2022-07-26 04:20:00 +00:00
|
|
|
pathvalidate
|
|
|
|
soundcloud-v2
|
2024-07-19 18:55:47 +00:00
|
|
|
filelock
|
2022-07-26 04:20:00 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# No tests in repository
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "scdl" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-07-19 18:55:47 +00:00
|
|
|
description = "Download Music from Soundcloud";
|
2022-07-26 04:20:00 +00:00
|
|
|
homepage = "https://github.com/flyingrub/scdl";
|
|
|
|
license = licenses.gpl2Only;
|
2024-07-28 14:44:11 +00:00
|
|
|
maintainers = [ ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "scdl";
|
2022-07-26 04:20:00 +00:00
|
|
|
};
|
|
|
|
}
|