anchor.diff:      gdk-pixbuf
       gdk-pixbuf-xlib
       gettext
  +    giflib
       glib
       imlib2
       libICE
  
positive.code: , libpthreadstubs
  , libsndfile
  , libtiff
  , giflib
  , libxcb
  , mkfontdir
  , pcre
  , perl
  }:
  
  stdenv.mkDerivation rec {
    pname = "icewm";
    version = "2.3.4";
  
    src = fetchFromGitHub {
      owner  = "ice-wm";
      repo = pname;
      rev = version;
      hash = "sha256-UyLefj0eY/m3Of51NdhMNMq3z+kaLK28zDe63hbDK5A=";
    };
  
    nativeBuildInputs = [
  
negative.code:     libpthreadstubs
      libsndfile
      libtiff
      libxcb
      mkfontdir
      pcre
    ];
  
    cmakeFlags = [
      "-DPREFIX=$out"
      "-DCFGDIR=/etc/icewm"
    ];
  
    # install legacy themes
    postInstall = ''
  