ytmdl: init at 2021.05.26
This commit is contained in:
parent
484e29479e
commit
3e2dedb805
48
pkgs/tools/misc/ytmdl/default.nix
Normal file
48
pkgs/tools/misc/ytmdl/default.nix
Normal file
@ -0,0 +1,48 @@
|
||||
{ lib, fetchFromGitHub, buildPythonApplication, ffmpeg, ffmpeg-python, musicbrainzngs, rich, simber, pydes, youtube-search, unidecode, pyxdg, downloader-cli, beautifulsoup4, itunespy, mutagen, pysocks, youtube-dl }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "ytmdl";
|
||||
version = "2021.05.26";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deepjyoti30";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-AYBhPmv1/cOaMh44kqm7JpJSudHbfriiJztcGL5mbEk=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "bs4" "beautifulsoup4"
|
||||
'';
|
||||
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ffmpeg
|
||||
ffmpeg-python
|
||||
musicbrainzngs
|
||||
rich
|
||||
simber
|
||||
pydes
|
||||
youtube-search
|
||||
unidecode
|
||||
pyxdg
|
||||
downloader-cli
|
||||
beautifulsoup4
|
||||
itunespy
|
||||
mutagen
|
||||
pysocks
|
||||
youtube-dl
|
||||
];
|
||||
|
||||
# This application has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/deepjyoti30/ytmdl";
|
||||
description = "YouTube Music Downloader";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ j0hax ];
|
||||
};
|
||||
}
|
@ -27975,6 +27975,8 @@ in
|
||||
|
||||
ytmdesktop = callPackage ../applications/audio/ytmdesktop { };
|
||||
|
||||
ytmdl = python3Packages.callPackage ../tools/misc/ytmdl { };
|
||||
|
||||
zam-plugins = callPackage ../applications/audio/zam-plugins { };
|
||||
|
||||
zanshin = libsForQt5.callPackage ../applications/office/zanshin { };
|
||||
|
Loading…
Reference in New Issue
Block a user