anchor.diff:      sed -i '/#include "config.h"/d' "$out/include/lirc/curl_poll.h"
     '';
   
  -  meta = with stdenv.lib; {
  +  meta = with lib; {
       description = "Allows to receive and send infrared signals";
       homepage = http://www.lirc.org/;
       license = licenses.gpl2;
  
positive.code: { stdenv
  , fetchurl
  , help2man
  , libxslt
  , python3Packages
  
  
negative.code: , xorg
  }:
  
  # TODO: libirman support
  # TODO: irxevent support
  # TODO: xmode2 support
  # TODO: usb support
  
  let
    version = "0.9.4d";
  in
  stdenv.mkDerivation rec {
    name = "lirc-${version}";
  
    src = fetchurl {
      url = "mirror://sourceforge/lirc/LIRC/${version}/${name}.tar.bz2";
      sha256 = "c68f18c35b489b865c0a741d119b136e8702191538cd3551b977a7af6c4e41ab";
    };
  
    nativeBuildInputs = [
  