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