anchor.diff:      cmake
       makeWrapper
       pkg-config
  -  ] ++ lib.optionals buildManPages [
  +  ] ++ lib.optionals buildManpages [
       ruby
     ];
   
  
positive.code: 
    # INFO: According to the source code, the manpages need to be generated before
    # the configure phase
    preConfigure = lib.optionalString buildManPages ''
      (cd doc; ruby docgen.rb mangen)
    '';
  
    cmakeFlags = [
  
negative.code: in
  stdenv.mkDerivation rec {
    pname = "arcan";
    version = "0.6.1pre1+unstable=2021-10-16";
  
    src = fetchFromGitHub {
      owner = "letoram";
      repo = "arcan";
      rev = "e0182b944152fbcb49f5c16932d38c05a9fb2680";
      hash = "sha256-4FodFuO51ehvyjH4YaF/xBY9dwA6cP/e6/BvEsH4w7U=";
    };
  
    postUnpack = ''
      pushd .
      cd $sourceRoot/external/git/
      cp -a ${letoram-openal-src}/ openal/
      chmod --recursive 744 openal/
      popd
    '';
  
    # TODO: work with upstream in order to get rid of these hardcoded paths
  