nixpkgs/pkgs/tools/misc/scdl/default.nix
2023-11-27 02:17:53 +01:00

35 lines
754 B
Nix

{ lib, python3Packages, fetchPypi }:
python3Packages.buildPythonApplication rec {
pname = "scdl";
version = "2.7.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "60284b7b058040d4847f2e4b0ab906b10e959d51f976a0188641e8e10685474f";
};
propagatedBuildInputs = with python3Packages; [
docopt
mutagen
termcolor
requests
clint
pathvalidate
soundcloud-v2
];
# No tests in repository
doCheck = false;
pythonImportsCheck = [ "scdl" ];
meta = with lib; {
description = "Download Music from Souncloud";
homepage = "https://github.com/flyingrub/scdl";
license = licenses.gpl2Only;
maintainers = with maintainers; [ marsam ];
mainProgram = "scdl";
};
}