depot/third_party/nixpkgs/pkgs/tools/misc/scdl/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

38 lines
767 B
Nix

{ lib, python3Packages, fetchPypi }:
python3Packages.buildPythonApplication rec {
pname = "scdl";
version = "2.12.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-8BMO5/XJdAkz/E1ZDXavJudNSOiZdYLcZVMk1S8g9nU=";
};
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";
};
}