mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
39 lines
767 B
Nix
39 lines
767 B
Nix
{ lib, python3Packages, fetchPypi }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "scdl";
|
|
version = "2.11.4";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-2hw9nVKShRAY6K0xXhVuce/dAu4w/BE2cKKKndzPJ3s=";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|