nixpkgs/pkgs/by-name/sc/scdl/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
767 B
Nix
Raw Normal View History

{ 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
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; [
docopt-ng
2022-07-26 04:20:00 +00:00
mutagen
termcolor
requests
tqdm
2022-07-26 04:20:00 +00:00
pathvalidate
soundcloud-v2
filelock
2022-07-26 04:20:00 +00:00
];
# No tests in repository
doCheck = false;
pythonImportsCheck = [ "scdl" ];
meta = with lib; {
description = "Download Music from Soundcloud";
2022-07-26 04:20:00 +00:00
homepage = "https://github.com/flyingrub/scdl";
license = licenses.gpl2Only;
maintainers = [ ];
2023-11-27 01:17:53 +00:00
mainProgram = "scdl";
2022-07-26 04:20:00 +00:00
};
}