Merge pull request #278784 from fufexan/xdph
xdg-desktop-portal-hyprland: 1.2.6 -> 1.3.1
This commit is contained in:
commit
efbacad2f2
3 changed files with 42 additions and 7 deletions
|
@ -1,13 +1,13 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, meson
|
, cmake
|
||||||
, ninja
|
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, wayland-scanner
|
, wayland-scanner
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, wrapQtAppsHook
|
, wrapQtAppsHook
|
||||||
, hyprland-protocols
|
, hyprland-protocols
|
||||||
|
, hyprlang
|
||||||
, libdrm
|
, libdrm
|
||||||
, mesa
|
, mesa
|
||||||
, pipewire
|
, pipewire
|
||||||
|
@ -19,22 +19,22 @@
|
||||||
, wayland
|
, wayland
|
||||||
, wayland-protocols
|
, wayland-protocols
|
||||||
, hyprland
|
, hyprland
|
||||||
|
, hyprpicker
|
||||||
, slurp
|
, slurp
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation (self: {
|
stdenv.mkDerivation (self: {
|
||||||
pname = "xdg-desktop-portal-hyprland";
|
pname = "xdg-desktop-portal-hyprland";
|
||||||
version = "1.2.6";
|
version = "1.3.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hyprwm";
|
owner = "hyprwm";
|
||||||
repo = "xdg-desktop-portal-hyprland";
|
repo = "xdg-desktop-portal-hyprland";
|
||||||
rev = "v${self.version}";
|
rev = "v${self.version}";
|
||||||
hash = "sha256-VRr5Xc4S/VPr/gU3fiOD3vSIL2+GJ+LUrmFTWTwnTz4=";
|
hash = "sha256-wP611tGIWBA4IXShWbah7TxqdbvhfcfT2vnXalX/qzk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson
|
cmake
|
||||||
ninja
|
|
||||||
pkg-config
|
pkg-config
|
||||||
wayland-scanner
|
wayland-scanner
|
||||||
makeWrapper
|
makeWrapper
|
||||||
|
@ -43,6 +43,7 @@ stdenv.mkDerivation (self: {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
hyprland-protocols
|
hyprland-protocols
|
||||||
|
hyprlang
|
||||||
libdrm
|
libdrm
|
||||||
mesa
|
mesa
|
||||||
pipewire
|
pipewire
|
||||||
|
@ -63,7 +64,7 @@ stdenv.mkDerivation (self: {
|
||||||
--prefix PATH ":" ${lib.makeBinPath [slurp hyprland]}
|
--prefix PATH ":" ${lib.makeBinPath [slurp hyprland]}
|
||||||
|
|
||||||
wrapProgramShell $out/libexec/xdg-desktop-portal-hyprland \
|
wrapProgramShell $out/libexec/xdg-desktop-portal-hyprland \
|
||||||
--prefix PATH ":" ${lib.makeBinPath [(placeholder "out")]}
|
--prefix PATH ":" ${lib.makeBinPath [(placeholder "out") hyprpicker]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
30
pkgs/by-name/hy/hyprlang/package.nix
Normal file
30
pkgs/by-name/hy/hyprlang/package.nix
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
cmake,
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "hyprlang";
|
||||||
|
version = "0.2.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "hyprwm";
|
||||||
|
repo = "hyprlang";
|
||||||
|
rev = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-KjAYC3sMyfipCHpkj0XSPw/C9KdCNlWtguQW5rEUiqo=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [cmake];
|
||||||
|
|
||||||
|
outputs = ["out" "dev"];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/hyprwm/hyprlang";
|
||||||
|
description = "The official implementation library for the hypr config language";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
})
|
|
@ -5701,6 +5701,10 @@ with pkgs;
|
||||||
|
|
||||||
hyprland-protocols = callPackage ../applications/window-managers/hyprwm/hyprland-protocols { };
|
hyprland-protocols = callPackage ../applications/window-managers/hyprwm/hyprland-protocols { };
|
||||||
|
|
||||||
|
hyprlang = callPackage ../by-name/hy/hyprlang/package.nix {
|
||||||
|
stdenv = gcc13Stdenv;
|
||||||
|
};
|
||||||
|
|
||||||
hyprnome = callPackage ../applications/misc/hyprnome { };
|
hyprnome = callPackage ../applications/misc/hyprnome { };
|
||||||
|
|
||||||
hyprpaper = callPackage ../applications/window-managers/hyprwm/hyprpaper { };
|
hyprpaper = callPackage ../applications/window-managers/hyprwm/hyprpaper { };
|
||||||
|
|
Loading…
Reference in a new issue