Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
46 lines
1 KiB
Nix
46 lines
1 KiB
Nix
{
|
|
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 ];
|
|
|
|
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";
|
|
changelog = "https://github.com/zotify-dev/zotify/blob/main/CHANGELOG.md";
|
|
license = lib.licenses.zlib;
|
|
mainProgram = "zotify";
|
|
maintainers = with lib.maintainers; [ bwkam ];
|
|
};
|
|
}
|