anchor.diff:      cinnamon-desktop
       cinnamon-menus
       cjs
  +    clutter
       dbus
       gdk-pixbuf
       glib
  +    gsound
       gtk3
       json-glib
       libsoup
  
positive.code: , cinnamon-session
  , cinnamon-translations
  , cjs
  , fetchFromGitHub
  , gdk-pixbuf
  , libgnomekbd
  , glib
  , gobject-introspection
  , gtk3
  , intltool
  , json-glib
  
negative.code: , meson
  , ninja
  , gst_all_1
  , perl
  }:
  
  stdenv.mkDerivation rec {
    pname = "cinnamon-common";
    version = "5.4.8";
  
    src = fetchFromGitHub {
      owner = "linuxmint";
      repo = "cinnamon";
      rev = version;
      hash = "sha256-Z+BbvLgH4gOsLMSC0r5Hp9yDZz4XMH7NR/A9to+/djA=";
    };
  
    patches = [
      ./use-sane-install-dir.patch
      ./libdir.patch
    ];
  
    buildInputs = [
      (python3.withPackages (pp: with pp; [ dbus-python setproctitle pygobject3 pycairo xapp pillow pytz tinycss2 python-pam pexpect distro requests ]))
      atk
      cacert
  