anchor.diff:    buildInputs = [ dpkg ];
   
     nativeBuildInputs = [ makeWrapper ];
  -  
  +
     unpackPhase = ''
       mkdir pkg
       dpkg-deb -x $src pkg
       sourceRoot=pkg
     '';
  -  
  +
     installPhase = ''
       mkdir $out
       mv opt/staruml $out/bin
  
positive.code:     ${patchelf}/bin/patchelf \
        --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
        $out/bin/StarUML
      
      mkdir -p $out/lib
      
      ln -s ${stdenv.cc.cc}/lib/libstdc++.so.6 $out/lib/
      ln -s ${udev}/lib/libudev.so.1 $out/lib/libudev.so.0
  
      wrapProgram $out/bin/StarUML \
        --prefix LD_LIBRARY_PATH : $out/lib:${glib}/lib:${gtk2}/lib:${gdk_pixbuf}/lib/:${alsaLib}/lib/:${nss}/lib/:${nspr}/lib/:${GConf}/lib/:${cups}/lib/:${libgcrypt}/lib/:${dbus}/lib/
    '';
  
    meta = with stdenv.lib; {
  
negative.code: { stdenv, fetchurl, makeWrapper
  , dpkg, patchelf
  , gtk2, glib, gdk_pixbuf, alsaLib, nss, nspr, GConf, cups, libgcrypt, dbus, libudev }:
  
  let
    inherit (stdenv) lib;
    LD_LIBRARY_PATH = lib.makeLibraryPath
      [ glib gtk2 gdk_pixbuf alsaLib nss nspr GConf cups libgcrypt dbus ];
  in
  stdenv.mkDerivation rec {
    version = "2.6.0";
    name = "staruml-${version}";
  