anchor.diff:      (ensureNewerSourcesHook { year = "1980"; })
     ]
       ++ optionals (versionAtLeast version "9.0.2") [
  -      pythonPackages.setuptools pythonPackages.argparse
  +      python2Packages.setuptools python2Packages.argparse
       ];
     buildInputs = buildInputs ++ cryptoLibsMap.${cryptoStr} ++ [
  -    boost python libxml2 optYasm optLibatomic_ops optLibs3 malloc pythonPackages.flask zlib
  +    boost python libxml2 optYasm optLibatomic_ops optLibs3 malloc python2Packages.flask zlib
     ] ++ optionals (versionAtLeast version "9.0.0") [
  -    pythonPackages.sphinx # Used for docs
  +    python2Packages.sphinx # Used for docs
     ] ++ optionals stdenv.isLinux [
       linuxHeaders libuuid udev keyutils optLibaio optLibxfs optZfs
     ] ++ optionals hasServer [
  
positive.code: { stdenv, ensureNewerSourcesHook, autoconf, automake, makeWrapper, pkgconfig
  , libtool, which, git
  , boost, python, pythonPackages, libxml2, zlib
  
  # Optional Dependencies
  , snappy ? null, leveldb ? null, yasm ? null, fcgi ? null, expat ? null
  
negative.code: with stdenv;
  with stdenv.lib;
  let
    inherit (python2Packages) python;
    mkFlag = trueStr: falseStr: cond: name: val:
      if cond == null then null else
        "--${if cond != false then trueStr else falseStr}${name}"
  