From 8bd329bfd3ad5e1b6cb9bd51d15e2a1c75f69ed3 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Thu, 30 Sep 2021 00:45:16 +0000 Subject: [PATCH] =?UTF-8?q?sysprof:=203.40.1=20=E2=86=92=203.42.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://ftp.gnome.org/pub/GNOME/sources/sysprof/3.42/sysprof-3.42.0.news --- .../development/tools/profiling/sysprof/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/profiling/sysprof/default.nix b/pkgs/development/tools/profiling/sysprof/default.nix index 6ceda016045b..7bcf387202ef 100644 --- a/pkgs/development/tools/profiling/sysprof/default.nix +++ b/pkgs/development/tools/profiling/sysprof/default.nix @@ -2,6 +2,7 @@ , lib , desktop-file-utils , fetchurl +, fetchpatch , gettext , glib , gtk3 @@ -21,15 +22,23 @@ stdenv.mkDerivation rec { pname = "sysprof"; - version = "3.40.1"; + version = "3.42.0"; outputs = [ "out" "lib" "dev" ]; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "0dvlzjwi3a4g37cpyhqpf41f5hypf0gim1jw9wqlv30flbb00l62"; + sha256 = "PBbgPv3+XT5xxNI5xndBrTf3LOiXHi9/rxaNvV6T6IY="; }; + patches = [ + # Fix missing unistd.h include. + (fetchpatch { + url = "https://gitlab.gnome.org/GNOME/sysprof/commit/b113c89af1de2f87589175795a197f6384852a78.patch"; + sha256 = "3Q8d6IZYNJl/vbyzRgoRR2sdl4aRkbcKPeVjSSqxb98="; + }) + ]; + nativeBuildInputs = [ desktop-file-utils gettext