nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

dleyna-server: Fix build with meson 1.2

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

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