anchor.diff:      hash = "sha256-LzcbRZ9NLTkDTZ2eW+uXYqPbWDSdLZAJcYdD8JLuiDc=";
     };
   
  -  # "test_time_taken" tests aren't suitable for reproducible execution, but django's
  +  # "test_time_taken" tests aren't suitable for reproducible execution, but Django's
     # test runner doesn't have an easy way to ignore tests - so instead prevent it from picking
     # them up as tests
     postPatch = ''
  
positive.code:       --replace 'use_scm_version=True' 'version="${version}"'
    '';
  
    nativeBuildInputs = [ setuptools-scm ];
    buildInputs = [ mock ];
    propagatedBuildInputs = [
      django pygments simplejson python-dateutil requests
      sqlparse jinja2 autopep8 pytz pillow gprof2dot
    ];
  
    checkInputs = [ freezegun contextlib2 networkx pydot factory_boy ];
    checkPhase = ''
      runHook preCheck
  
  
negative.code: { lib
  , autopep8
  , buildPythonPackage
  , contextlib2
  , django
  , factory_boy
  , fetchFromGitHub
  , fetchpatch
  , freezegun
  , gprof2dot
  , jinja2
  , mock
  , networkx
  , pillow
  , pydot
  , pygments
  , python
  , python-dateutil
  , pythonOlder
  , pytz
  , requests
  , setuptools-scm
  , simplejson
  , sqlparse
  }:
  
  buildPythonPackage rec {
    pname = "django-silk";
    version = "5.0.2";
    format = "setuptools";
  
    disabled = pythonOlder "3.7";
  
    src = fetchFromGitHub {
      owner = "jazzband";
      repo = "django-silk";
  