anchor.diff:        ${opensslLegacyStatic.out}/lib/libcrypto.a \
         deps/openssl-OpenSSL_${legacyOpenSSLVersion}/
       ln -s ${opensslLegacyStatic.out.dev}/include deps/openssl-OpenSSL_${legacyOpenSSLVersion}/include
  -    ln -s ${opensslLegacyStatic.bin}/bin deps/openssl-OpenSSL_${legacyOpenSSLVersion}/apps
  +    ln -s ${opensslLegacyStatic.bin} deps/openssl-OpenSSL_${legacyOpenSSLVersion}/apps
   
       mkdir -p deps/openssl-OpenSSL_${modernOpenSSLVersion}/
       cp ${opensslStatic.out}/lib/libssl.a \
  
positive.code:     invoke package.wheel
    '';
  
    checkInputs = [ pytestCheckHook ];
  
    checkPhase = ''
      # Skip online tests
      pytest -k 'not Online'
    '';
  
    meta = with lib; {
      homepage = "https://github.com/nabla-c0d3/nassl";
      description = "Low-level OpenSSL wrapper for Python 3.7+";
      platforms = with platforms; linux ++ darwin;
      license = licenses.agpl3;
      maintainers = with maintainers; [ veehaitch ];
    };
  }
  
negative.code: , tls-parser
  , cacert
  , pytestCheckHook
  , pythonOlder
  }:
  
  let
    zlibStatic = (pkgsStatic.zlib.override {
      splitStaticOutput = false;
    }).overrideAttrs (oldAttrs: {
      NIX_CFLAGS_COMPILE = "${oldAttrs.NIX_CFLAGS_COMPILE} -fPIC";
    });
    nasslOpensslArgs = {
      static = true;
      enableSSL2 = true;
  