anchor.diff:      owner = "SoCo";
       repo = "SoCo";
       rev = "v${version}";
  -    sha256 = "0p87aw7wxgdjz0m0nqqcfvbn24hlbq1hh1zxdq2c0k2jcbmaj8zc";
  +    sha256 = "sha256-CCgkzUkt9YqTJt9tPBLmYXW6ZuRoMDd7xahYmNXgfM0=";
     };
  +
  +  patches = [(fetchpatch {
  +    url = "https://patch-diff.githubusercontent.com/raw/SoCo/SoCo/pull/811.patch";
  +    sha256 = "sha256-GBd74c8zc25ROO411SZ9TTa+bi8yXJaaOQqY9FM1qj4=";
  +  })];
   
     # N.B. These exist because:
     # 1. Upstream's pinning isn't well maintained, leaving dependency versions no
  
positive.code: 
  buildPythonPackage rec {
    pname = "soco";
    version = "0.20";
  
    # N.B. We fetch from GitHub because the PyPI tarball doesn't contain the
    # required files to run the tests.
  
negative.code: { buildPythonPackage
  , fetchFromGitHub
  , fetchpatch
  , graphviz
  , ifaddr
  , isPy27
  , lib
  , mock
  , nix-update-script
  , pytestCheckHook
  , requests
  , requests-mock
  , sphinx
  , sphinx_rtd_theme
  , toml
  