bluez: 5.76 -> 5.78 (#341994)

authored by Fabián Heredia Montiel and committed by GitHub ae51a986 a6d156bb

+14 -21
+14 -21
pkgs/by-name/bl/bluez/package.nix
··· 11 11 , json_c 12 12 , libical 13 13 , pkg-config 14 - , python3 14 + , python3Packages 15 15 , readline 16 16 , systemdMinimal 17 17 , udev ··· 24 24 25 25 stdenv.mkDerivation (finalAttrs: { 26 26 pname = "bluez"; 27 - version = "5.76"; 27 + version = "5.78"; 28 28 29 29 src = fetchurl { 30 30 url = "mirror://kernel/linux/bluetooth/bluez-${finalAttrs.version}.tar.xz"; 31 - hash = "sha256-VeLGRZCa2C2DPELOhewgQ04O8AcJQbHqtz+s3SQLvWM="; 31 + hash = "sha256-gw/tGRXF03W43g9eb0X83qDcxf9f+z0x227Q8A1zxeM="; 32 32 }; 33 33 34 - patches = [ 35 - # hog-lib: Fix passing wrong parameters to bt_uhid_get_report_reply 36 - (fetchpatch { 37 - url = "https://github.com/bluez/bluez/commit/5ebaeab4164f80539904b9a520d9b7a8307e06e2.patch"; 38 - hash = "sha256-f1A8DmRPfm+zid4XMj1zsfcLZ0WTEax3YPbydKZF9RE="; 39 - }) 40 - ] 41 - # Disable one failing test with musl libc, also seen by alpine 42 - # https://github.com/bluez/bluez/issues/726 43 - ++ lib.optional (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_64) 44 - (fetchurl { 45 - url = "https://git.alpinelinux.org/aports/plain/main/bluez/disable_aics_unit_testcases.patch?id=8e96f7faf01a45f0ad8449c1cd825db63a8dfd48"; 46 - hash = "sha256-1PJkipqBO3qxxOqRFQKfpWlne1kzTCgtnTFYI1cFQt4="; 47 - }) 48 - ; 34 + # Disable one failing test with musl libc, also seen by alpine 35 + # https://github.com/bluez/bluez/issues/726 36 + patches = lib.optional (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_64) 37 + (fetchurl { 38 + url = "https://git.alpinelinux.org/aports/plain/main/bluez/disable_aics_unit_testcases.patch?id=8e96f7faf01a45f0ad8449c1cd825db63a8dfd48"; 39 + hash = "sha256-1PJkipqBO3qxxOqRFQKfpWlne1kzTCgtnTFYI1cFQt4="; 40 + }); 49 41 50 42 buildInputs = [ 51 43 alsa-lib ··· 54 46 glib 55 47 json_c 56 48 libical 57 - python3 49 + python3Packages.python 58 50 readline 59 51 udev 60 52 ]; ··· 62 54 nativeBuildInputs = [ 63 55 docutils 64 56 pkg-config 65 - python3.pkgs.wrapPython 57 + python3Packages.pygments 58 + python3Packages.wrapPython 66 59 ]; 67 60 68 61 outputs = [ "out" "dev" ] ··· 122 115 doCheck = stdenv.hostPlatform.isx86_64; 123 116 124 117 postInstall = let 125 - pythonPath = with python3.pkgs; [ 118 + pythonPath = with python3Packages; [ 126 119 dbus-python 127 120 pygobject3 128 121 ];