From 31eda7abcaebb9d7076b150a3ad8631afae1b5ec Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Wed, 6 Sep 2023 12:41:33 +0000 Subject: [PATCH] =?UTF-8?q?tracker-miners:=203.5.0=20=E2=86=92=203.5.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/tracker-miners/-/compare/3.5.0...3.5.2 --- .../libraries/tracker-miners/default.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/tracker-miners/default.nix b/pkgs/development/libraries/tracker-miners/default.nix index b32df6b026a2..dc849677a584 100644 --- a/pkgs/development/libraries/tracker-miners/default.nix +++ b/pkgs/development/libraries/tracker-miners/default.nix @@ -1,6 +1,7 @@ { stdenv , lib , fetchurl +, fetchpatch , asciidoc , docbook-xsl-nons , docbook_xml_dtd_45 @@ -46,13 +47,22 @@ stdenv.mkDerivation rec { pname = "tracker-miners"; - version = "3.5.0"; + version = "3.5.2"; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "F5ZmA9xDKphSa0kFhqSKzX+fWZNfeJXfxRcppGppAaM="; + sha256 = "QPuR+svZRo4m6+zHEdg2Mc2K6TkcYV1o27A8vKsbbGk="; }; + patches = [ + # Use cc.has_header_symbol to check for BTRFS_IOC_INO_LOOKUP + # https://github.com/NixOS/nixpkgs/issues/228639 + (fetchpatch { + url = "https://gitlab.gnome.org/GNOME/tracker-miners/-/commit/c08fbe0650d4a2ae915a21764f54c02eda9406d5.patch"; + sha256 = "U81+yfg2sUkKl4tKMeB7pXJRNSeIE+2loT3/bvnhoKM="; + }) + ]; + nativeBuildInputs = [ asciidoc docbook-xsl-nons