sysprof: 3.28.1 → 3.30.0

This commit is contained in:
Tor Hedin Brønner 2018-09-06 10:18:31 +00:00 committed by Jan Tojnar
parent 8d078e5000
commit 1f914b56e8
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,7 +1,6 @@
{ stdenv
, desktop-file-utils
, fetchurl
, fetchpatch
, gettext
, glib
, gtk3
@ -17,7 +16,7 @@
, gnome3
}:
let
version = "3.28.1";
version = "3.30.0";
pname = "sysprof";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
@ -26,18 +25,9 @@ in stdenv.mkDerivation rec {
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "05534dvwrzrmryb4y2m1sb2q0r8i6nr88pzjg7xs5nr9zq8a87p3";
sha256 = "0qrzcs60m44mmj7ln9815kfgvi2pjlhmk0p4vjc0dw3pw95jrk99";
};
patches = [
# fix includedir in pkgconfig
# https://gitlab.gnome.org/GNOME/sysprof/merge_requests/2
(fetchpatch {
url = https://gitlab.gnome.org/GNOME/sysprof/commit/d19a496bb55b8646e866df8bb07bc6ad3c55eaf2.patch;
sha256 = "15w6di9c4n1gsymkpk413f5f9gd3iq23wdkzs01y9xrxwqpm7hm4";
})
];
nativeBuildInputs = [ desktop-file-utils gettext itstool libxml2 meson ninja pkgconfig shared-mime-info wrapGAppsHook ];
buildInputs = [ glib gtk3 pango polkit systemd.dev systemd.lib ];