about summary refs log tree commit diff
path: root/pkgs/desktops/cinnamon/xapp/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/cinnamon/xapp/default.nix')
-rw-r--r--pkgs/desktops/cinnamon/xapp/default.nix94
1 files changed, 0 insertions, 94 deletions
diff --git a/pkgs/desktops/cinnamon/xapp/default.nix b/pkgs/desktops/cinnamon/xapp/default.nix
deleted file mode 100644
index b55830b56c45..000000000000
--- a/pkgs/desktops/cinnamon/xapp/default.nix
+++ /dev/null
@@ -1,94 +0,0 @@
-{ fetchFromGitHub
-, glib
-, gobject-introspection
-, gtk3
-, libgnomekbd
-, gdk-pixbuf
-, cairo
-, xorg
-, meson
-, ninja
-, pkg-config
-, python3
-, lib
-, stdenv
-, vala
-, wrapGAppsHook3
-, inxi
-, mate
-, dbus
-, libdbusmenu-gtk3
-}:
-
-stdenv.mkDerivation rec {
-  pname = "xapp";
-  version = "2.8.3";
-
-  outputs = [ "out" "dev" ];
-
-  src = fetchFromGitHub {
-    owner = "linuxmint";
-    repo = pname;
-    rev = version;
-    hash = "sha256-uWBHCsKcW0vP2HYHQWXPrCSr5NsN2nYWAzBByxJBVrY=";
-  };
-
-  # Recommended by upstream, which enables the build of xapp-debug.
-  # https://github.com/linuxmint/xapp/issues/169#issuecomment-1574962071
-  mesonBuildType = "debugoptimized";
-
-  nativeBuildInputs = [
-    meson
-    ninja
-    pkg-config
-    python3
-    vala
-    wrapGAppsHook3
-    gobject-introspection
-  ];
-
-  buildInputs = [
-    (python3.withPackages (ps: with ps; [
-      pygobject3
-      setproctitle # mate applet
-    ]))
-    libgnomekbd
-    gdk-pixbuf
-    xorg.libxkbfile
-    python3.pkgs.pygobject3 # for .pc file
-    mate.mate-panel # for gobject-introspection
-    dbus
-    libdbusmenu-gtk3
-  ];
-
-  # Requires in xapp.pc
-  propagatedBuildInputs = [
-    gtk3
-    cairo
-    glib
-  ];
-
-  mesonFlags = [
-    "-Dpy-overrides-dir=${placeholder "out"}/${python3.sitePackages}/gi/overrides"
-  ];
-
-  postPatch = ''
-    chmod +x schemas/meson_install_schemas.py # patchShebangs requires executable file
-    patchShebangs schemas/meson_install_schemas.py
-
-    # Patch pastebin & inxi location
-    sed "s|/usr/bin/pastebin|$out/bin/pastebin|" -i scripts/upload-system-info
-    sed "s|'inxi'|'${inxi}/bin/inxi'|" -i scripts/upload-system-info
-  '';
-
-  # Fix gtk3 module target dir. Proper upstream solution should be using define_variable.
-  PKG_CONFIG_GTK__3_0_LIBDIR = "${placeholder "out"}/lib";
-
-  meta = with lib; {
-    homepage = "https://github.com/linuxmint/xapp";
-    description = "Cross-desktop libraries and common resources";
-    license = licenses.lgpl3;
-    platforms = platforms.linux;
-    maintainers = teams.cinnamon.members;
-  };
-}