nix/host/home/yamusicdownload/default.nix

29 lines
776 B
Nix
Raw Normal View History

2024-06-27 02:14:33 +03:00
{ 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 {
2024-06-27 04:39:42 +03:00
owner = "voronind-com";
2024-06-27 02:14:33 +03:00
repo = "yandex-music-downloader";
2024-06-27 04:39:42 +03:00
rev = "1d105ad022be480c1746e9351ec5837ac5f4d54d";
hash = "sha256-4X6tizUotL0e68vZg7hOQJf9SDQy2Drg8Hukwfvt/Ts=";
2024-06-27 02:14:33 +03:00
};
2024-06-27 04:39:42 +03:00
# NOTE: Waiting for PR https://github.com/llistochek/yandex-music-downloader/pull/49
# src = pkgs.fetchFromGitHub {
# owner = "llistochek";
# repo = "yandex-music-downloader";
# rev = "184d1d1aeb056d6b90df03437b2edde88661b19d";
# hash = "sha256-7ll1sMTE/fosgTRtaF6vHBsnDNiqxjFXaRG21JV7wo4=";
# };
2024-06-27 02:14:33 +03:00
}