0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

sysprof: 3.42.0 → 3.42.1

This commit is contained in:
Fabián Heredia Montiel 2021-11-09 09:18:36 -06:00
parent 9e2114fade
commit b3139e4e9e

View file

@ -2,7 +2,6 @@
, lib , lib
, desktop-file-utils , desktop-file-utils
, fetchurl , fetchurl
, fetchpatch
, gettext , gettext
, glib , glib
, gtk3 , gtk3
@ -22,23 +21,15 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "sysprof"; pname = "sysprof";
version = "3.42.0"; version = "3.42.1";
outputs = [ "out" "lib" "dev" ]; outputs = [ "out" "lib" "dev" ];
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "PBbgPv3+XT5xxNI5xndBrTf3LOiXHi9/rxaNvV6T6IY="; sha256 = "F5a4FATudf0eus9URkrXr/6/YvKFHu9STZ+OrAxKIAE=";
}; };
patches = [
# Fix missing unistd.h include.
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/sysprof/commit/b113c89af1de2f87589175795a197f6384852a78.patch";
sha256 = "3Q8d6IZYNJl/vbyzRgoRR2sdl4aRkbcKPeVjSSqxb98=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
desktop-file-utils desktop-file-utils
gettext gettext