louvre: 2.2.0-1 -> 2.9.0-1

This commit is contained in:
John Titor 2024-09-12 10:02:44 +05:30
parent 111ed8812c
commit 6a65627a05
No known key found for this signature in database
GPG Key ID: 29B0514F4E3C1CC0

View File

@ -22,16 +22,22 @@
}:
stdenv.mkDerivation (self: {
pname = "louvre";
version = "2.2.0-1";
rev = "v${self.version}";
hash = "sha256-Ds1TTxHFq0Z88djdpAunhtKAipOCTodKIKOh5oxF568=";
version = "2.9.0-1";
src = fetchFromGitHub {
inherit (self) rev hash;
owner = "CuarzoSoftware";
repo = "Louvre";
rev = "v${self.version}";
hash = "sha256-0M1Hl5kF8r4iFflkGBb9CWqwzauSZPVKSRNWZKFZC4U=";
};
sourceRoot = "${self.src.name}/src";
postPatch = ''
substituteInPlace examples/meson.build \
--replace-fail "/usr/local/share/wayland-sessions" "${placeholder "out"}/share/wayland-sessions"
'';
nativeBuildInputs = [
meson
ninja
@ -58,11 +64,6 @@ stdenv.mkDerivation (self: {
outputs = [ "out" "dev" ];
preConfigure = ''
# The root meson.build file is in src/
cd src
'';
meta = {
description = "C++ library for building Wayland compositors";
homepage = "https://github.com/CuarzoSoftware/Louvre";