1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

sysprof: 3.40.1 → 3.42.0

https://ftp.gnome.org/pub/GNOME/sources/sysprof/3.42/sysprof-3.42.0.news
This commit is contained in:
Jan Tojnar 2021-09-30 00:45:16 +00:00
parent 9c00a39c6b
commit 8bd329bfd3

View file

@ -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