bluez: 5.56 -> 5.58

Remove applying patch incorporated into this release
This commit is contained in:
William Kral 2021-04-07 10:55:35 -07:00
parent c49bdf33dd
commit 3e0b9f52d2

View file

@ -1,6 +1,5 @@
{ stdenv
, lib
, fetchpatch
, fetchurl
, alsaLib
, dbus
@ -20,11 +19,11 @@
];
in stdenv.mkDerivation rec {
pname = "bluez";
version = "5.56";
version = "5.58";
src = fetchurl {
url = "mirror://kernel/linux/bluetooth/${pname}-${version}.tar.xz";
sha256 = "sha256-WcTbqfyKripqX48S8ZvBsMLcJzVcfKMSPu0/5r19C50=";
sha256 = "1wgiv8cqya6n1w5fz24cb8q401bhn5aa6s7g95l26rzblmsmw1n8";
};
buildInputs = [
@ -45,15 +44,6 @@ in stdenv.mkDerivation rec {
outputs = [ "out" "dev" ] ++ lib.optional doCheck "test";
patches = [
# Fixes https://github.com/NixOS/nixpkgs/issues/117663
(fetchpatch {
name = "disconnect-fix.patch";
url = "https://github.com/bluez/bluez/commit/28ddec8d6b829e002fa268c07b71e4c564ba9e16.patch";
sha256 = "sha256-vzMf1i44e4JrpL7cXbn9oDr+3B+Glf7dPW3QDstEnEM=";
})
];
postPatch = ''
substituteInPlace tools/hid2hci.rules \
--replace /sbin/udevadm ${systemd}/bin/udevadm \