python311Packages.shazamio 0 -> 1 attrpath: python311Packages.shazamio Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/ngzh1axp4fry49iwykjqvkf4sr694yq5-packages.json.drv building '/nix/store/ngzh1axp4fry49iwykjqvkf4sr694yq5-packages.json.drv'... Going to be running update for following packages: - python3.11-shazamio-0.4.0.1 Press Enter key to continue... Running update for: - python3.11-shazamio-0.4.0.1: UPDATING ... - python3.11-shazamio-0.4.0.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/shazamio/default.nix b/pkgs/development/python-modules/shazamio/default.nix index 7190c1e2c0ae..e96776e60b8a 100644 --- a/pkgs/development/python-modules/shazamio/default.nix +++ b/pkgs/development/python-modules/shazamio/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "shazamio"; - version = "0.4.0.1"; + version = "0.5.1"; format = "pyproject"; src = fetchFromGitHub { owner = "dotX12"; repo = "ShazamIO"; - rev = version; - hash = "sha256-dfrdfbGkLYNjlS6Qv9Rnywv6nqiKrNXCICLSuAXpQBU="; + rev = "refs/tags/${version}"; + hash = "sha256-nzKvEoh1DrZegoRNqOCh9Qm+7B7uQ9dEH75mVueGxZI="; }; patches = [ No auto update branch exists Old version 0.4.0.1" not present in staging derivation file with contents: { lib , buildPythonPackage , fetchFromGitHub , fetchpatch , poetry-core , wheel , aiofiles , aiohttp , dataclass-factory , numpy , pydantic , pydub , ffmpeg , pytest-asyncio , pytestCheckHook }: buildPythonPackage rec { pname = "shazamio"; version = "0.5.1"; format = "pyproject"; src = fetchFromGitHub { owner = "dotX12"; repo = "ShazamIO"; rev = "refs/tags/${version}"; hash = "sha256-nzKvEoh1DrZegoRNqOCh9Qm+7B7uQ9dEH75mVueGxZI="; }; patches = [ # remove poetry and virtualenv from build dependencies as they are not used # https://github.com/dotX12/ShazamIO/pull/71 (fetchpatch { name = "remove-unused-build-dependencies.patch"; url = "https://github.com/dotX12/ShazamIO/commit/5c61e1efe51c2826852da5b6aa6ad8ce3d4012a9.patch"; hash = "sha256-KiU5RVBPnSs5qrReFeTe9ePg1fR7y0NchIIHcQwlPaI="; }) ]; nativeBuildInputs = [ poetry-core wheel ]; propagatedBuildInputs = [ aiofiles aiohttp dataclass-factory numpy pydantic pydub ]; nativeCheckInputs = [ ffmpeg pytest-asyncio pytestCheckHook ]; disabledTests = [ # requires internet access "test_about_artist" "test_recognize_song_file" "test_recognize_song_bytes" ]; pythonImportsCheck = [ "shazamio" ]; meta = with lib; { description = "A free asynchronous library from reverse engineered Shazam API"; homepage = "https://github.com/dotX12/ShazamIO"; changelog = "https://github.com/dotX12/ShazamIO/releases/tag/${src.rev}"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; # https://github.com/shazamio/ShazamIO/issues/80 broken = versionAtLeast pydantic.version "2"; }; }