anchor.diff:      libsodium
     ];
   
  -  # Make sure we use the system libsodium 
  +  # Make sure we use the system libsodium
     postPatch = ''
       sed -i '/def use_system():/a\    return True' setup.py
     '';
  
positive.code: }:
  
  let
    version = "1.1.1";
  in
  buildPythonPackage {
    name = "pynacl-${version}";
  
negative.code:     inherit version;
    };
  
    meta = with lib; {
      description = "Python binding to the Networking and Cryptography (NaCl) library";
      homepage = https://pypi.python.org/pypi/PyNaCl;
      license = licenses.asl20;
      maintainers = with maintainers; [
        wkennington
      ];
  