diff options
author | Robert Schütz <dev@schuetz-co.de> | 2021-07-06 00:34:35 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-07-05 23:11:32 -0700 |
commit | 5f4bbbffa4b7d0e94c00f674c7504b9d4a3ae3a5 (patch) | |
tree | a0866eb4b3b105da83cb7bcc4a91e45dfd9b3fb4 /pkgs/tools/misc/ytmdl | |
parent | a42b017bdcaf7e0e609f9470dfc2eb610ddf60c2 (diff) |
ytmdl: don't propagate ffmpeg
Diffstat (limited to 'pkgs/tools/misc/ytmdl')
-rw-r--r-- | pkgs/tools/misc/ytmdl/default.nix | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/tools/misc/ytmdl/default.nix b/pkgs/tools/misc/ytmdl/default.nix index 694ee44d5fa6c..9fe917d49aa78 100644 --- a/pkgs/tools/misc/ytmdl/default.nix +++ b/pkgs/tools/misc/ytmdl/default.nix @@ -1,9 +1,10 @@ -{ lib, fetchFromGitHub, buildPythonApplication, ffmpeg, ffmpeg-python, musicbrainzngs, rich, simber -, pydes, youtube-search, unidecode, pyxdg, downloader-cli, beautifulsoup4, itunespy, mutagen, pysocks -, youtube-dl, ytmusicapi +{ lib +, fetchFromGitHub +, python3 +, ffmpeg }: -buildPythonApplication rec { +python3.pkgs.buildPythonApplication rec { pname = "ytmdl"; version = "2021.06.26"; @@ -20,8 +21,7 @@ buildPythonApplication rec { ''; - propagatedBuildInputs = [ - ffmpeg + propagatedBuildInputs = with python3.pkgs; [ ffmpeg-python musicbrainzngs rich @@ -39,6 +39,10 @@ buildPythonApplication rec { ytmusicapi ]; + makeWrapperArgs = [ + "--prefix" "PATH" ":" (lib.makeBinPath [ ffmpeg ]) + ]; + # This application has no tests doCheck = false; @@ -46,7 +50,6 @@ buildPythonApplication rec { homepage = "https://github.com/deepjyoti30/ytmdl"; description = "YouTube Music Downloader"; license = licenses.mit; - platforms = platforms.all; maintainers = with maintainers; [ j0hax ]; }; } |