wl-vapi-gen: init at 1.1.0

This commit is contained in:
Perchun Pak 2026-05-22 21:01:22 +02:00
commit 2cfae8e162
No known key found for this signature in database
GPG key ID: 313F67D1EAB770F9
3 changed files with 55 additions and 10 deletions

View file

@ -0,0 +1,42 @@
{
lib,
stdenv,
fetchFromGitea,
meson,
ninja,
python3,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "wl-vapi-gen";
version = "1.1.0";
strictDeps = true;
__structuredAttrs = true;
src = fetchFromGitea {
domain = "codeberg.org";
owner = "kotontrion";
repo = "wl-vapi-gen";
tag = finalAttrs.version;
hash = "sha256-Wi6zDrabUjIXJuxRJ9oHYfKF1ULkim/5kHGb+pl0oc4=";
};
postPatch = ''
patchShebangs wl-vapi-gen.py
'';
nativeBuildInputs = [
meson
ninja
python3
];
meta = {
description = "Generate vala bindings for wayland protocols";
homepage = "https://codeberg.org/kotontrion/wl-vapi-gen";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.PerchunPak ];
platforms = lib.platforms.all;
};
})

View file

@ -1,11 +1,17 @@
{ buildAstalModule, json-glib }:
{
buildAstalModule,
json-glib,
wl,
wl-vapi-gen,
}:
buildAstalModule {
name = "river";
buildInputs = [ json-glib ];
nativeBuildInputs = [ wl-vapi-gen ];
buildInputs = [
json-glib
wl
];
meta.description = "Astal module for River using IPC";
# needs https://codeberg.org/kotontrion/wl-vapi-gen,
# which has 11 commits and needs to be packaged
meta.broken = true;
postUnpack = ''
rm -rf $sourceRoot/subprojects

View file

@ -1,9 +1,6 @@
{ buildAstalModule }:
{ buildAstalModule, wl-vapi-gen }:
buildAstalModule {
name = "wl";
buildInputs = [ ];
nativeBuildInputs = [ wl-vapi-gen ];
meta.description = "Central wayland connection manager";
# needs https://codeberg.org/kotontrion/wl-vapi-gen,
# which has 11 commits and needs to be packaged
meta.broken = true;
}