anchor.diff:  , compton, procps, iproute, coreutils, curl, alsaUtils, findutils, xterm
   , which, dbus, nettools, git, asciidoc, doxygen
   , xmlto, docbook_xml_dtd_45, docbook_xsl, findXMLCatalogs
  -, libxkbcommon, xcbutilxrm
  +, libxkbcommon, xcbutilxrm, hicolor_icon_theme
   }:
   
  -let
  +with luaPackages; stdenv.mkDerivation rec {
  +  name = "awesome-${version}";
     version = "4.0";
  -in with luaPackages;
  -
  -stdenv.mkDerivation rec {
  -  name = "awesome-${version}";
  -
     src = fetchurl {
       url    = "http://github.com/awesomeWM/awesome-releases/raw/master/${name}.tar.xz";
       sha256 = "0czkcz67sab63gf5m2p2pgg05yinjx60hfb9rfyzdkkg28q9f02w";
  -  };
  -
  -  meta = with stdenv.lib; {
  -    description = "Highly configurable, dynamic window manager for X";
  -    homepage    = https://awesomewm.org/;
  -    license     = licenses.gpl2Plus;
  -    maintainers = with maintainers; [ lovek323 rasendubi ];
  -    platforms   = platforms.linux;
     };
   
     nativeBuildInputs = [
  
positive.code:   passthru = {
      inherit lua;
    };
  }
  
negative.code:     pkgconfig
      xmlto docbook_xml_dtd_45 docbook_xsl findXMLCatalogs
    ];
    propagatedUserEnvPkgs = [ hicolor_icon_theme ];
    buildInputs = [ cairo dbus gdk_pixbuf gobjectIntrospection
                    git lgi libpthreadstubs libstartup_notification
                    libxdg_basedir lua nettools pango xcb-util-cursor
                    xorg.libXau xorg.libXdmcp xorg.libxcb xorg.libxshmfence
                    xorg.xcbutil xorg.xcbutilimage xorg.xcbutilkeysyms
                    xorg.xcbutilrenderutil xorg.xcbutilwm libxkbcommon
                    xcbutilxrm ];
  
    #cmakeFlags = "-DGENERATE_MANPAGES=ON";
  
  