xdg-desktop-portal-luminous: init at 0.1.8 (#389933)
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
meson,
|
||||
ninja,
|
||||
rustc,
|
||||
cargo,
|
||||
rustPlatform,
|
||||
xdg-desktop-portal,
|
||||
slurp,
|
||||
cairo,
|
||||
pango,
|
||||
libxkbcommon,
|
||||
glib,
|
||||
pipewire,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xdg-desktop-portal-luminous";
|
||||
version = "0.1.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "waycrate";
|
||||
repo = "xdg-desktop-portal-luminous";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-7i6+arKWubziDmy07FocDDiJdOWAszhO7yOOI1iPfds=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit (finalAttrs) pname version src;
|
||||
hash = "sha256-fatlvc+MoAJZGW/5alnDu1PQyK6mnE0aNQAhrMg7Hio=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
meson
|
||||
ninja
|
||||
rustc
|
||||
cargo
|
||||
rustPlatform.cargoSetupHook
|
||||
rustPlatform.bindgenHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
xdg-desktop-portal
|
||||
slurp
|
||||
cairo
|
||||
pango
|
||||
glib
|
||||
pipewire
|
||||
libxkbcommon
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "xdg-desktop-portal backend for wlroots based compositors, providing screenshot and screencast";
|
||||
homepage = "https://github.com/waycrate/xdg-desktop-portal-luminous";
|
||||
license = lib.licenses.gpl3Only;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ Rishik-Y ];
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user