Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d042b8197670
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2e2835b35b17
Choose a head ref
  • 8 commits
  • 8 files changed
  • 1 contributor

Commits on Mar 25, 2021

  1. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    0f49fa8 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    88a613a View commit details
  3. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    3193ea7 View commit details
  4. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    668aa73 View commit details
  5. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    92fc1c1 View commit details
  6. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    0cb607c View commit details
  7. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    af56c5c View commit details
  8. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    2e2835b View commit details
18 changes: 2 additions & 16 deletions pkgs/applications/graphics/gnome-photos/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ lib, stdenv
, fetchurl
, fetchpatch
, at-spi2-core
, babl
, dbus
@@ -22,6 +21,7 @@
, gtk3
, itstool
, libdazzle
, libhandy
, libgdata
, libxml2
, meson
@@ -47,21 +47,6 @@ stdenv.mkDerivation rec {

patches = [
./installed-tests-path.patch

# Port to Tracker 3
# https://gitlab.gnome.org/GNOME/gnome-photos/-/merge_requests/135
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-photos/commit/f39a85bb1a82093f4ba615494ff7e95609674fc2.patch";
sha256 = "M5r5WuB1JpUBVN3KxNvpMiPWj0pIpT+ImQMOiGtUgT4=";
})
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-photos/commit/3d847ff80d429cadf0bc59aa50caa37bf27c0201.patch";
sha256 = "zGjSL1qpWVJ/5Ifgh2CbhFSBR/WDAra8F+YUOemyxyU=";
})
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-photos/commit/2eb923726147b05c936dee64b205d833525db1df.patch";
sha256 = "vCA6NXHzmNf2GoLqzWwIyziC6puJgJ0QTLeKWsAEFAE=";
})
];

nativeBuildInputs = [
@@ -99,6 +84,7 @@ stdenv.mkDerivation rec {
gsettings-desktop-schemas
gtk3
libdazzle
libhandy
libgdata
tracker
tracker-miners # For 'org.freedesktop.Tracker.Miner.Files' GSettings schema
40 changes: 35 additions & 5 deletions pkgs/desktops/gnome-3/apps/gnome-weather/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
{ lib, stdenv, fetchurl, pkg-config, gnome3, gtk3, wrapGAppsHook, gjs, gobject-introspection
, libgweather, meson, ninja, geoclue2, gnome-desktop, python3, gsettings-desktop-schemas }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gnome3
, gtk3
, libhandy
, wrapGAppsHook
, gjs
, gobject-introspection
, libgweather
, meson
, ninja
, geoclue2
, gnome-desktop
, python3
, gsettings-desktop-schemas
}:

stdenv.mkDerivation rec {
pname = "gnome-weather";
@@ -10,10 +26,24 @@ stdenv.mkDerivation rec {
sha256 = "1vxfcvga5waangq3rzwdrdxyy5sw40vv0l463lc651s0n8xafd9a";
};

nativeBuildInputs = [ pkg-config meson ninja wrapGAppsHook python3 ];
nativeBuildInputs = [
pkg-config
meson
ninja
wrapGAppsHook
python3
];

buildInputs = [
gtk3 gjs gobject-introspection gnome-desktop
libgweather gnome3.adwaita-icon-theme geoclue2 gsettings-desktop-schemas
gtk3
libhandy
gjs
gobject-introspection
gnome-desktop
libgweather
gnome3.adwaita-icon-theme
geoclue2
gsettings-desktop-schemas
];

postPatch = ''
53 changes: 45 additions & 8 deletions pkgs/desktops/gnome-3/core/gnome-system-monitor/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
{ lib, stdenv, gettext, fetchurl, pkg-config, gtkmm3, libxml2
, bash, gtk3, glib, wrapGAppsHook, meson, ninja, python3
, gsettings-desktop-schemas, itstool, gnome3, librsvg, gdk-pixbuf, libgtop, systemd }:
{ lib
, stdenv
, gettext
, fetchurl
, pkg-config
, gtkmm3
, libxml2
, bash
, gtk3
, libhandy
, glib
, wrapGAppsHook
, meson
, ninja
, python3
, gsettings-desktop-schemas
, itstool
, gnome3
, librsvg
, gdk-pixbuf
, libgtop
, systemd
}:

stdenv.mkDerivation rec {
pname = "gnome-system-monitor";
@@ -11,16 +31,33 @@ stdenv.mkDerivation rec {
sha256 = "0mp778rcmh0l9rh8wlz4d0b5sw5fpap0lqp1g6db0ljmypvm1rb4";
};

doCheck = true;

nativeBuildInputs = [
pkg-config gettext itstool wrapGAppsHook meson ninja python3
pkg-config
gettext
itstool
wrapGAppsHook
meson
ninja
python3
];

buildInputs = [
bash gtk3 glib libxml2 gtkmm3 libgtop gdk-pixbuf gnome3.adwaita-icon-theme librsvg
gsettings-desktop-schemas systemd
bash
gtk3
libhandy
glib
libxml2
gtkmm3
libgtop
gdk-pixbuf
gnome3.adwaita-icon-theme
librsvg
gsettings-desktop-schemas
systemd
];

doCheck = true;

postPatch = ''
chmod +x meson_post_install.py # patchShebangs requires executable file
patchShebangs meson_post_install.py
63 changes: 54 additions & 9 deletions pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
{ lib, stdenv, fetchurl, pkg-config, gnome3, gtk3, wrapGAppsHook
, librsvg, gsound, clutter-gtk, gettext, itstool, vala, python3
, libxml2, libgee, libgnome-games-support, meson, ninja
, desktop-file-utils, hicolor-icon-theme}:
{ lib
, stdenv
, fetchurl
, fetchpatch
, pkg-config
, gnome3
, gtk3
, wrapGAppsHook
, librsvg
, gsound
, clutter-gtk
, gettext
, itstool
, vala
, python3
, libxml2
, libgee
, libgnome-games-support
, meson
, ninja
, desktop-file-utils
, hicolor-icon-theme
}:

stdenv.mkDerivation rec {
pname = "gnome-nibbles";
@@ -12,14 +31,40 @@ stdenv.mkDerivation rec {
sha256 = "1naknfbciydbym79a0jq039xf0033z8gyln48c0qsbcfr2qn8yj5";
};

patches = [
# Fix build with recent Vala.
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-nibbles/-/commit/62964e9256fcac616109af874dbb2bd8342a9853.patch";
sha256 = "4VijELRxycS8rwi1HU9U3h9K/VtdQjJntfdtMN9Uz34=";
})
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-nibbles/-/commit/1b48446068608aff9b5edf1fdbd4b8c0d9f0be94.patch";
sha256 = "X0+Go5ae4F06WTPDYc2HIIax8X4RDgUGO6A6Qp8UifQ=";
})
];

nativeBuildInputs = [
meson ninja vala python3
pkg-config wrapGAppsHook gettext itstool libxml2
desktop-file-utils hicolor-icon-theme
meson
ninja
vala
python3
pkg-config
wrapGAppsHook
gettext
itstool
libxml2
desktop-file-utils
hicolor-icon-theme
];

buildInputs = [
gtk3 librsvg gsound clutter-gtk gnome3.adwaita-icon-theme
libgee libgnome-games-support
gtk3
librsvg
gsound
clutter-gtk
gnome3.adwaita-icon-theme
libgee
libgnome-games-support
];

passthru = {
57 changes: 46 additions & 11 deletions pkgs/desktops/gnome-3/games/gnome-robots/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
{ lib, stdenv, fetchurl, pkg-config, gnome3, gtk3, wrapGAppsHook
, librsvg, gsound, gettext, itstool, libxml2, libgnome-games-support
, libgee, meson, ninja, python3, desktop-file-utils, adwaita-icon-theme }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gnome3
, gtk3
, wrapGAppsHook
, librsvg
, gsound
, gettext
, itstool
, libxml2
, libgnome-games-support
, libgee
, meson
, ninja
, vala
, python3
, desktop-file-utils
, adwaita-icon-theme
}:

stdenv.mkDerivation rec {
pname = "gnome-robots";
@@ -11,28 +29,45 @@ stdenv.mkDerivation rec {
sha256 = "04fbykj576dq1h6cycgfhh8wd6yxmlsqykvj188sbwahay42zgvg";
};

passthru = {
updateScript = gnome3.updateScript { packageName = "gnome-robots"; attrPath = "gnome3.gnome-robots"; };
};

nativeBuildInputs = [
pkg-config meson ninja python3
libxml2 wrapGAppsHook gettext itstool desktop-file-utils
pkg-config
meson
ninja
vala
python3
libxml2
wrapGAppsHook
gettext
itstool
desktop-file-utils
];

buildInputs = [
gtk3 librsvg gsound libgnome-games-support libgee adwaita-icon-theme
gtk3
librsvg
gsound
libgnome-games-support
libgee
adwaita-icon-theme
];

postPatch = ''
chmod +x build-aux/meson_post_install.py
patchShebangs build-aux/meson_post_install.py
'';

passthru = {
updateScript = gnome3.updateScript {
packageName = "gnome-robots";
attrPath = "gnome3.gnome-robots";
};
};

meta = with lib; {
homepage = "https://wiki.gnome.org/Apps/Robots";
description = "Avoid the robots and make them crash into each other";
maintainers = teams.gnome.members;
license = licenses.gpl2;
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
}
60 changes: 50 additions & 10 deletions pkgs/desktops/gnome-3/games/gnome-taquin/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
{ lib, stdenv, fetchurl, pkg-config, gnome3, gtk3, wrapGAppsHook
, librsvg, gsound, gettext, itstool, libxml2
, meson, ninja, vala, python3, desktop-file-utils
{ lib
, stdenv
, fetchurl
, fetchpatch
, pkg-config
, gnome3
, gtk3
, wrapGAppsHook
, librsvg
, gsound
, gettext
, itstool
, libxml2
, meson
, ninja
, vala
, python3
, desktop-file-utils
}:

stdenv.mkDerivation rec {
@@ -12,24 +27,49 @@ stdenv.mkDerivation rec {
sha256 = "0kw131q0ad0rbsp6qifjc8fjlhvjxyihil8a76kj8ya9mn7kvnwn";
};

passthru = {
updateScript = gnome3.updateScript { packageName = "gnome-taquin"; attrPath = "gnome3.gnome-taquin"; };
};
patches = [
# Fix build with recent Vala.
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-taquin/-/commit/99dea5e7863e112f33f16e59898c56a4f1a547b3.patch";
sha256 = "U7djuMhb1XJaKAPyogQjaunOkbBK24r25YD7BgH05P4=";
})
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-taquin/-/commit/66be44dc20d114e449fc33156e3939fd05dfbb16.patch";
sha256 = "RN41RCLHlJyXTARSH9qjsmpYi1UFeMRssoYxRsbngDQ=";
})
];

nativeBuildInputs = [
pkg-config wrapGAppsHook meson ninja python3
gettext itstool libxml2 vala desktop-file-utils
pkg-config
wrapGAppsHook
meson
ninja
python3
gettext
itstool
libxml2
vala
desktop-file-utils
];
buildInputs = [
gtk3 librsvg gsound
gtk3
librsvg
gsound
gnome3.adwaita-icon-theme
];

passthru = {
updateScript = gnome3.updateScript {
packageName = "gnome-taquin";
attrPath = "gnome3.gnome-taquin";
};
};

meta = with lib; {
homepage = "https://wiki.gnome.org/Apps/Taquin";
description = "Move tiles so that they reach their places";
maintainers = teams.gnome.members;
license = licenses.gpl3;
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
}
14 changes: 14 additions & 0 deletions pkgs/desktops/gnome-3/games/iagno/default.nix
Original file line number Diff line number Diff line change
@@ -26,6 +26,20 @@ stdenv.mkDerivation rec {
sha256 = "097dw1l92l73xah9l56ka5mi3dvx48ffpiv33ni5i5rqw0ng7fc4";
};

patches = [
# Fix build with recent Vala.
# https://gitlab.gnome.org/GNOME/dconf-editor/-/merge_requests/15
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/iagno/-/commit/e8a0aeec350ea80349582142c0e8e3cd3f1bce38.patch";
sha256 = "OO1x0Yx56UFzHTBsPAMYAjnJHlnTjdO1Vk7q6XU8wKQ=";
})
# https://gitlab.gnome.org/GNOME/dconf-editor/-/merge_requests/13
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/iagno/-/commit/508c0f94e5f182e50ff61be6e04f72574dee97cb.patch";
sha256 = "U7djuMhb1XJaKAPyogQjaunOkbBK24r25YD7BgH05P4=";
})
];

nativeBuildInputs = [
meson
ninja
63 changes: 49 additions & 14 deletions pkgs/desktops/gnome-3/games/swell-foop/default.nix
Original file line number Diff line number Diff line change
@@ -1,32 +1,67 @@
{ lib, stdenv, fetchurl, meson, ninja, pkg-config, vala, glib, gtk3, gnome3, desktop-file-utils
, clutter, clutter-gtk, gettext, itstool, libxml2, wrapGAppsHook, python3 }:
{ lib
, stdenv
, fetchurl
, meson
, ninja
, pkg-config
, vala
, glib
, gtk3
, libgnome-games-support
, gnome3
, desktop-file-utils
, clutter
, clutter-gtk
, gettext
, itstool
, libxml2
, wrapGAppsHook
, python3
}:

let
stdenv.mkDerivation rec {
pname = "swell-foop";
version = "40.0";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${name}.tar.xz";
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "1swvazfc2ydc52njfrxdd0ns2apb2k54dq8vlj81y1vlwcqhgw3p";
};

passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
nativeBuildInputs = [
meson
ninja
vala
pkg-config
wrapGAppsHook
python3
itstool
gettext
libxml2
desktop-file-utils
];

nativeBuildInputs = [ meson ninja vala pkg-config wrapGAppsHook python3 itstool gettext libxml2 desktop-file-utils ];
buildInputs = [ glib gtk3 gnome3.adwaita-icon-theme clutter clutter-gtk ];
buildInputs = [
glib
gtk3
libgnome-games-support
gnome3.adwaita-icon-theme
clutter
clutter-gtk
];

postPatch = ''
chmod +x meson_post_install.py # patchShebangs requires executable file
patchShebangs meson_post_install.py
'';

passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};

meta = with lib; {
homepage = "https://wiki.gnome.org/Apps/Swell%20Foop";
description = "Puzzle game, previously known as Same GNOME";