depot/third_party/nixpkgs/pkgs/tools/misc/scdl/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

38 lines
785 B
Nix

{ lib, python3Packages, fetchPypi }:
python3Packages.buildPythonApplication rec {
pname = "scdl";
version = "2.11.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-5fko7WV1r0uP7//29tcmhO4Heu8QBNdhHv4afUs6W7E=";
};
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 = with maintainers; [ ];
mainProgram = "scdl";
};
}