5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
38 lines
767 B
Nix
38 lines
767 B
Nix
{ lib, python3Packages, fetchPypi }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "scdl";
|
|
version = "2.11.3";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-3GmmGZ2uTE2T0GagWzBdbtFsTU3pcRxh0uh6/V16cUw=";
|
|
};
|
|
|
|
build-system = [ python3Packages.setuptools ];
|
|
|
|
dependencies = with python3Packages; [
|
|
docopt-ng
|
|
mutagen
|
|
termcolor
|
|
requests
|
|
tqdm
|
|
pathvalidate
|
|
soundcloud-v2
|
|
filelock
|
|
];
|
|
|
|
# No tests in repository
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "scdl" ];
|
|
|
|
meta = with lib; {
|
|
description = "Download Music from Soundcloud";
|
|
homepage = "https://github.com/flyingrub/scdl";
|
|
license = licenses.gpl2Only;
|
|
maintainers = [ ];
|
|
mainProgram = "scdl";
|
|
};
|
|
}
|