anchor.diff:      license = licenses.mit;
       maintainers = with maintainers; [ ris ];
     };
  -
   }
  
positive.code: { lib
  , buildPythonPackage
  , python
  , pythonAtLeast
  , fetchFromGitHub
  , fetchpatch
  , django
  , pygments
  , simplejson
  , python-dateutil
  , requests
  , setuptools-scm
  , sqlparse
  , jinja2
  , autopep8
  , pytz
  , pillow
  , mock
  , gprof2dot
  , freezegun
  , contextlib2
  , networkx
  , pydot
  , factory_boy
  }:
  
  buildPythonPackage rec {
    pname = "django-silk";
    version = "5.0.2";
  
    # pypi tarball doesn't include test project
    src = fetchFromGitHub {
      owner = "jazzband";
      repo = "django-silk";
  
negative.code:       --replace 'use_scm_version=True' 'version="${version}"'
    '';
  
    nativeBuildInputs = [
      setuptools-scm
    ];
  
    buildInputs = [
      mock
    ];
  
    propagatedBuildInputs = [
      autopep8
      django
      gprof2dot
      jinja2
      pillow
      pygments
      python-dateutil
      pytz
      requests
      simplejson
      sqlparse
    ];
  
    checkInputs = [
      freezegun
      contextlib2
      networkx
      pydot
      factory_boy
    ];
  
    pythonImportsCheck = [
      "silk"
    ];
  
    checkPhase = ''
      runHook preCheck
  
  