blob: d5250b780a42ee412c9c127ead890476013c0de6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
fetchFromGitHub,
python3Packages,
lib,
}:
python3Packages.buildPythonApplication rec {
pname = "zotify";
version = "0.6.13";
pyproject = true;
src = fetchFromGitHub {
owner = "zotify-dev";
repo = "zotify";
# repository has no version tags
# https://github.com/zotify-dev/zotify/issues/124
rev = "5da27d32a1f522e80a3129c61f939b1934a0824a";
hash = "sha256-KA+Q4sk+riaFTybRQ3aO5lgPg4ECZE6G+By+x2uP/VM=";
};
build-system = [ python3Packages.setuptools ];
nativeBuildInputs = [ python3Packages.pythonRelaxDepsHook ];
pythonRelaxDeps = [ "protobuf" ];
dependencies = with python3Packages; [
ffmpy
music-tag
pillow
tabulate
tqdm
librespot
pwinput
protobuf
];
pythonImportsCheck = [ "zotify" ];
meta = {
description = "Fast and customizable music and podcast downloader";
homepage = "https://github.com/zotify-dev/zotify";
license = lib.licenses.zlib;
mainProgram = "zotify";
maintainers = with lib.maintainers; [ bwkam ];
};
}
|