wl-mirror: 0.10.0 -> 0.11.2

This commit is contained in:
Ferdinand Bachmann 2022-04-12 19:33:56 +02:00
parent 603b07bfb2
commit 01be4d3e96

View File

@ -26,16 +26,17 @@ in
stdenv.mkDerivation rec {
pname = "wl-mirror";
version = "0.10.0";
version = "0.11.2";
src = fetchFromGitHub {
owner = "Ferdi265";
repo = "wl-mirror";
rev = "v${version}";
hash = "sha256-ygzSLbzn4P/BdYbqUDduUGwSbRHeU/OBYOX2uznVy1g=";
hash = "sha256-D5uUKaepcSW9v2x6uBeLGXAyuLorlt4Lb6lZD/prfp8=";
};
patchPhase = ''
postPatch = ''
echo 'v${version}' > version.txt
substituteInPlace CMakeLists.txt \
--replace 'WL_PROTOCOL_DIR "/usr' 'WL_PROTOCOL_DIR "${wayland-protocols}' \
--replace 'WLR_PROTOCOL_DIR "/usr' 'WLR_PROTOCOL_DIR "${wlr-protocols}'