Commit 184ef4c6 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.librespot: relax all requirements

parent 7d988081
Loading
Loading
Loading
Loading
+9 −13
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, defusedxml
, fetchFromGitHub
, protobuf
, pycryptodomex
, pyogg
, pytestCheckHook
, pythonRelaxDepsHook
, requests
, websocket-client
, pyogg
, zeroconf
, requests
, pycryptodomex
, pytestCheckHook
}:

buildPythonPackage rec {
@@ -20,10 +20,12 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "kokarare1212";
    repo = "librespot-python";
    rev = "v${version}";
    rev = "refs/tags/v${version}";
    hash = "sha256-k9qVsxjRlUZ7vCBx00quiAR7S+YkfyoZiAKVnOOG4xM=";
  };

  pythonRelaxDeps = true;

  nativeBuildInputs = [
    pythonRelaxDepsHook
  ];
@@ -38,13 +40,6 @@ buildPythonPackage rec {
    zeroconf
  ];

  pythonRelaxDeps = [
    "protobuf"
    "pyogg"
    "requests"
    "zeroconf"
  ];

  # Doesn't include any tests
  doCheck = false;

@@ -55,6 +50,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Open Source Spotify Client";
    homepage = "https://github.com/kokarare1212/librespot-python";
    changelog = "https://github.com/kokarare1212/librespot-python/releases/tag/v${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [ onny ];
  };