anchor.diff: -{ lib, fetchpatch, python3Packages }:
  +{ lib
  +, fetchpatch
  +, fetchFromGitHub
  +, python3
  +}:
   
  -with lib;
  -with python3Packages;
  +let
  +  py = python3.override {
  +    packageOverrides = self: super: {
  +
  +      # Support for later tweepy releases is missing
  +      # https://github.com/louipc/turses/issues/12
  +      tweepy = super.tweepy.overridePythonAttrs (oldAttrs: rec {
  +        version = "3.10.0";
  +
  +        src = fetchFromGitHub {
  +          owner = "tweepy";
  +          repo = "tweepy";
  +          rev = "v${version}";
  +          sha256 = "0k4bdlwjna6f1k19jki4xqgckrinkkw8b9wihzymr1l04rwd05nw";
  +        };
  +        doCheck = false;
  +      });
  +    };
  +  };
  +in
  +with py.pkgs;
   
   buildPythonPackage rec {
     pname = "turses";
  
positive.code:     })
    ];
  
    checkPhase = ''
      TMP_TURSES=`echo turses-$RANDOM`
      mkdir $TMP_TURSES
  
negative.code:     sha256 = "15mkhm3b5ka42h8qph0mhh8izfc1200v7651c62k7ldcs50ib9j6";
    };
  
    propagatedBuildInputs = with py.pkgs; [
      urwid
      tweepy
      future
    ];
  
    checkInputs = with py.pkgs; [
      mock
      pytest
      coverage
      tox
    ];
  
    LC_ALL = "en_US.UTF-8";
  
  