Commit 06841a64 authored by Nikola Knezevic's avatar Nikola Knezevic Committed by Peter Hoeg
Browse files

tvdb_api: unblock by using the latest version

Unreleased version (there have not been any updates since April 2021)
contains fixes to _to_bytes issue that caused tvdb_api to fail to build.
parent c79e326a
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, requests-cache
, pytest
}:

buildPythonPackage rec {
  pname = "tvdb_api";
  version = "3.1.0";
  version = "3.2.0-beta";

  src = fetchPypi {
    inherit pname version;
    sha256 = "f63f6db99441bb202368d44aaabc956acc4202b18fc343a66bf724383ee1f563";
  src = fetchFromGitHub {
    owner = "dbr";
    repo = "tvdb_api";
    rev = "ce0382181a9e08a5113bfee0fed2c78f8b1e613f";
    sha256 = "sha256-poUuwySr6+8U9PIHhqFaR7nXzh8kSaW7mZkuKTUJKj8=";
  };

  propagatedBuildInputs = [ requests-cache ];
@@ -26,7 +28,5 @@ buildPythonPackage rec {
    homepage = "https://github.com/dbr/tvdb_api";
    license = licenses.unlicense;
    maintainers = with maintainers; [ peterhoeg ];
    # https://github.com/dbr/tvdb_api/issues/94
    broken = true;
  };
}