bluez: 5.56 -> 5.58
Remove applying patch incorporated into this release
This commit is contained in:
parent
c49bdf33dd
commit
3e0b9f52d2
|
@ -1,6 +1,5 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchpatch
|
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, alsaLib
|
, alsaLib
|
||||||
, dbus
|
, dbus
|
||||||
|
@ -20,11 +19,11 @@
|
||||||
];
|
];
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "bluez";
|
pname = "bluez";
|
||||||
version = "5.56";
|
version = "5.58";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/bluetooth/${pname}-${version}.tar.xz";
|
url = "mirror://kernel/linux/bluetooth/${pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-WcTbqfyKripqX48S8ZvBsMLcJzVcfKMSPu0/5r19C50=";
|
sha256 = "1wgiv8cqya6n1w5fz24cb8q401bhn5aa6s7g95l26rzblmsmw1n8";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -45,15 +44,6 @@ in stdenv.mkDerivation rec {
|
||||||
|
|
||||||
outputs = [ "out" "dev" ] ++ lib.optional doCheck "test";
|
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 = ''
|
postPatch = ''
|
||||||
substituteInPlace tools/hid2hci.rules \
|
substituteInPlace tools/hid2hci.rules \
|
||||||
--replace /sbin/udevadm ${systemd}/bin/udevadm \
|
--replace /sbin/udevadm ${systemd}/bin/udevadm \
|
||||||
|
|
Loading…
Reference in a new issue