about summary refs log tree commit diff
path: root/pkgs/desktops/gnome/core
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2024-06-22 16:32:25 +0200
committerJan Tojnar <jtojnar@gmail.com>2024-07-01 09:35:26 +0200
commit075a8fe3b5aa45a34c05a39d9fde04b50d5694e6 (patch)
tree2e23a2dd43e57658bcc83b513ae9ae2f68e40b22 /pkgs/desktops/gnome/core
parent453e89fd196615bdc2c928e882fafe5e2578f552 (diff)
gnome-dictionary: Move from gnome scope to top-level
Diffstat (limited to 'pkgs/desktops/gnome/core')
-rw-r--r--pkgs/desktops/gnome/core/gnome-dictionary/default.nix87
1 files changed, 0 insertions, 87 deletions
diff --git a/pkgs/desktops/gnome/core/gnome-dictionary/default.nix b/pkgs/desktops/gnome/core/gnome-dictionary/default.nix
deleted file mode 100644
index f38428e93b889..0000000000000
--- a/pkgs/desktops/gnome/core/gnome-dictionary/default.nix
+++ /dev/null
@@ -1,87 +0,0 @@
-{ stdenv
-, lib
-, fetchurl
-, fetchpatch
-, meson
-, ninja
-, pkg-config
-, desktop-file-utils
-, appstream-glib
-, libxslt
-, libxml2
-, gettext
-, itstool
-, wrapGAppsHook3
-, docbook_xsl
-, docbook_xml_dtd_43
-, gnome
-, adwaita-icon-theme
-, gtk3
-, glib
-, gsettings-desktop-schemas
-}:
-
-stdenv.mkDerivation rec {
-  pname = "gnome-dictionary";
-  version = "40.0";
-
-  src = fetchurl {
-    url = "mirror://gnome/sources/gnome-dictionary/${lib.versions.major version}/${pname}-${version}.tar.xz";
-    sha256 = "1d8dhcfys788vv27v34i3s3x3jdvdi2kqn2a5p8c937a9hm0qr9f";
-  };
-
-  patches = [
-    # Fix test dependencies with meson 0.57, can be removed on next bump
-    # We need to explicitly depend on the generated files.
-    (fetchpatch {
-      url = "https://gitlab.gnome.org/Archive/gnome-dictionary/-/commit/87c026cfe4acbcfc62d15950f88a71d8d9678c7e.patch";
-      sha256 = "tKesWeOK3OqOxrXm4dZvCZHHdTD7AQbYDjtYDCsLd3A=";
-    })
-    # Fix build with meson 0.61, can be removed on next bump
-    # data/appdata/meson.build:3:5: ERROR: Function does not take positional arguments.
-    (fetchpatch {
-      url = "https://gitlab.gnome.org/Archive/gnome-dictionary/-/commit/cf3f8a67cd6f3059c555ed9cf0f5fba10abb7f68.patch";
-      sha256 = "cIRM6ACqsnEo2JWYvr6EBye5o0BudugZMShCe1U5hz8=";
-    })
-  ];
-
-  nativeBuildInputs = [
-    meson
-    ninja
-    pkg-config
-    wrapGAppsHook3
-    libxml2
-    gettext
-    itstool
-    desktop-file-utils
-    appstream-glib
-    libxslt
-    docbook_xsl
-    docbook_xml_dtd_43
-  ];
-
-  buildInputs = [
-    gtk3
-    glib
-    gsettings-desktop-schemas
-    adwaita-icon-theme
-  ];
-
-  doCheck = true;
-
-  passthru = {
-    updateScript = gnome.updateScript {
-      packageName = "gnome-dictionary";
-      attrPath = "gnome.gnome-dictionary";
-    };
-  };
-
-  meta = with lib; {
-    homepage = "https://gitlab.gnome.org/Archive/gnome-dictionary";
-    description = "Dictionary is the GNOME application to look up definitions";
-    mainProgram = "gnome-dictionary";
-    maintainers = teams.gnome.members;
-    license = licenses.gpl2;
-    platforms = platforms.unix;
-  };
-}