Package : Bring back yandex music downloader.
This commit is contained in:
parent
7c5b204f74
commit
886f181e38
|
@ -55,6 +55,7 @@
|
|||
zip unzip # Zip archive/unarchive tools.
|
||||
|
||||
# (pkgs.callPackage ./ytdlp {})
|
||||
(pkgs.callPackage ./yamusicdownload {})
|
||||
];
|
||||
|
||||
desktop = with pkgs; [
|
||||
|
|
22
package/yamusicdownload/default.nix
Normal file
22
package/yamusicdownload/default.nix
Normal 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";
|
||||
}
|
Loading…
Reference in a new issue