anchor.diff:      args
       schema
       setuptools
  -    backports_csv
  -  ];
  +  ] ++ lib.optionals (!isPy3k) [ backports_csv ];
   
     checkInputs = [ pytest responses glibcLocales ];
   
  
positive.code: { buildPythonPackage, fetchFromGitHub, pytest, six, clint, pyyaml, docopt
  , requests, jsonpatch, args, schema, responses, backports_csv, isPy3k
  , lib, glibcLocales, setuptools }:
  
  buildPythonPackage rec {
    pname = "internetarchive";
    version = "1.9.0";
  
    # Can't use pypi, data files for tests missing
    src = fetchFromGitHub {
      owner = "jjjake";
      repo = "internetarchive";
      rev = "v${version}";
      sha256 = "1h344c04ipzld4s7xk8d84f80samjjlgzvv3y8zsv0n1c895gymb";
    };
  
    propagatedBuildInputs = [
      six
      clint
      pyyaml
      docopt
      requests
  
negative.code:   '';
  
    meta = with lib; {
      description = "A Python and Command-Line Interface to Archive.org";
      homepage = "https://github.com/jjjake/internetarchive";
      license = licenses.agpl3;
    };
  