anchor.diff:        libtool
         perl
         pkgconfig
  -      python27
  +      python27Packages.python
         swig
         which
       ];
  
positive.code:     src = apparmor-sources;
  
      buildInputs = [
        python27
        libapparmor
        which
      ];
  
  
negative.code:     postPatch = "cd ./utils";
      makeFlags = ''LANGS='';
      installFlags = ''DESTDIR=$(out) BINDIR=$(out)/bin VIM_INSTALL_PATH=$(out)/share PYPREFIX='';
  
      postInstall = ''
        for prog in aa-audit aa-autodep aa-cleanprof aa-complain aa-disable aa-enforce aa-genprof aa-logprof aa-mergeprof aa-status aa-unconfined ; do
          wrapProgram $out/bin/$prog --prefix PYTHONPATH : "$out/lib/${python27Packages.python.libPrefix}/site-packages:$PYTHONPATH"
        done
  
        for prog in aa-exec aa-notify ; do
          wrapProgram $out/bin/$prog --prefix PERL5LIB : "${libapparmor}/lib/perl5:$PERL5LIB"
        done
      '';
  
      meta = apparmor-meta "user-land utilities";
    };
  