Package : Bring back yandex music downloader.

This commit is contained in:
Dmitry Voronin 2024-10-10 15:21:35 +03:00
parent 7c5b204f74
commit 886f181e38
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 23 additions and 0 deletions

View file

@ -55,6 +55,7 @@
zip unzip # Zip archive/unarchive tools.
# (pkgs.callPackage ./ytdlp {})
(pkgs.callPackage ./yamusicdownload {})
];
desktop = with pkgs; [

View file

@ -0,0 +1,22 @@
{ pkgs, ... }: with pkgs.python3Packages; buildPythonPackage {
version = "1.0.0";
pname = "yandex-music-downloader";
format = "pyproject";
propagatedBuildInputs = [
setuptools
setuptools-git
requests
eyed3
browser-cookie3
];
src = pkgs.fetchFromGitHub {
owner = "llistochek";
repo = "yandex-music-downloader";
rev = "08ea384869cbc31efb1e78b831e2356882219951";
hash = "sha256-WOFesD7HjskyqHaXZAPy3pgSPaEO+tOyQ+5MV3ZO7XU=";
};
meta.mainProgram = "yandex-music-downloader";
}