linuxPackages.dddvb: 0.9.38-pre.4 -> 0.9.38-pre.6

Apply patch to unbreak on 5.18+.

+12 -4
+12 -4
pkgs/os-specific/linux/dddvb/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , kernel 5 6 }: 6 7 7 8 stdenv.mkDerivation rec { 8 9 pname = "dddvb"; 9 - version = "0.9.38-pre.4"; 10 + version = "0.9.38-pre.6"; 10 11 11 12 src = fetchFromGitHub { 12 13 owner = "DigitalDevices"; 13 14 repo = "dddvb"; 14 - rev = "e9ccab3578965234c0ea38c5b30969f33600561d"; 15 - sha256 = "sha256-gOG+dAeQ++kTC5xaEpsr3emz3s6FXiKeCHmA9shYBJk="; 15 + rev = "refs/tags/${version}"; 16 + hash = "sha256-bt/vMnqRWDDChZ6R4JbCr77cz3nlSPkx6siC9KLSEqs="; 16 17 }; 17 18 19 + patches = [ 20 + (fetchpatch { 21 + # pci_*_dma_mask no longer exists in 5.18 22 + url = "https://github.com/DigitalDevices/dddvb/commit/871821d6a0be147313bb52570591ce3853b3d370.patch"; 23 + hash = "sha256-wY05HrsduvsIdp/KpS9NWfL3hR9IvGjuNCDljFn7dd0="; 24 + }) 25 + ]; 26 + 18 27 postPatch = '' 19 28 sed -i '/depmod/d' Makefile 20 29 ''; ··· 35 44 license = licenses.gpl2Only; 36 45 maintainers = with maintainers; [ hexa ]; 37 46 platforms = platforms.linux; 38 - broken = kernel.kernelAtLeast "5.18"; 39 47 }; 40 48 }