Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

dleyna-renderer: Fix build with meson 1.2

ERROR: Unexpected "[provides]" section, did you mean "[provide]"?

+12
+12
pkgs/development/libraries/dleyna-renderer/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , meson 5 6 , ninja 6 7 , pkg-config ··· 26 27 rev = "v${version}"; 27 28 sha256 = "sha256-bGasT3XCa7QHV3D7z59TSHoqWksNSIgaO0z9zYfHHuw="; 28 29 }; 30 + 31 + patches = [ 32 + # Fix build with meson 1.2. We use the gentoo patch intead of the 33 + # usptream one because the latter only applies on the libsoup_3 based 34 + # merged dLeyna project. 35 + # https://gitlab.gnome.org/World/dLeyna/-/merge_requests/6 36 + (fetchpatch { 37 + url = "https://github.com/gentoo/gentoo/raw/2ebe20ff4cda180cc248d31a021107d08ecf39d9/net-libs/dleyna-renderer/files/meson-1.2.0.patch"; 38 + sha256 = "sha256-/p2OaPO5ghWtPotwIir2TtcFF5IDFN9FFuyqPHevuFI="; 39 + }) 40 + ]; 29 41 30 42 nativeBuildInputs = [ 31 43 meson