diff options
author | bwkam | 2024-05-12 23:14:44 +0300 |
---|---|---|
committer | bwkam | 2024-07-27 12:25:44 +0300 |
commit | fa466badd86e776cbd8e042d85cbfeeccf7e8869 (patch) | |
tree | 6f9a8b9a7a1e23a4ff7529d04845e76af0a860ff /pkgs/by-name/zo | |
parent | e640bd83b7b8a00e380169726c168279f6af7b1c (diff) |
zotify: init at 0.6.13
Diffstat (limited to 'pkgs/by-name/zo')
-rw-r--r-- | pkgs/by-name/zo/zotify/package.nix | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/by-name/zo/zotify/package.nix b/pkgs/by-name/zo/zotify/package.nix new file mode 100644 index 000000000000..d5250b780a42 --- /dev/null +++ b/pkgs/by-name/zo/zotify/package.nix @@ -0,0 +1,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 ]; + }; +} |