anchor.diff: -{ lib, stdenv, fetchurl, erlang, elixir, python, libxml2, libxslt, xmlto
  -, docbook_xml_dtd_45, docbook_xsl, zip, unzip, rsync, getconf, socat
  -, procps, coreutils, gnused, systemd, glibcLocales
  -, AppKit, Carbon, Cocoa
  +{ lib
  +, stdenv
  +, fetchurl
  +, erlang
  +, elixir
  +, python
  +, libxml2
  +, libxslt
  +, xmlto
  +, docbook_xml_dtd_45
  +, docbook_xsl
  +, zip
  +, unzip
  +, rsync
  +, getconf
  +, socat
  +, procps
  +, coreutils
  +, gnused
  +, systemd
  +, glibcLocales
  +, AppKit
  +, Carbon
  +, Cocoa
   , nixosTests
   }:
   
   stdenv.mkDerivation rec {
     pname = "rabbitmq-server";
  -
     version = "3.9.1";
   
     # when updating, consider bumping elixir version in all-packages.nix
  
positive.code:     rm $out/INSTALL
    '';
  
    meta = {
      homepage = "https://www.rabbitmq.com/";
      description = "An implementation of the AMQP messaging protocol";
      license = lib.licenses.mpl20;
      platforms = lib.platforms.unix;
      maintainers = with lib.maintainers; [ Profpatsch ];
    };
  
    passthru.tests = {
      vm-test = nixosTests.rabbitmq;
    };
  }
  
negative.code:   };
  
    nativeBuildInputs = [ unzip xmlto docbook_xml_dtd_45 docbook_xsl zip rsync ];
    buildInputs = [ erlang elixir python libxml2 libxslt glibcLocales ]
      ++ lib.optionals stdenv.isDarwin [ AppKit Carbon Cocoa ];
  
    outputs = [ "out" "man" "doc" ];
  