hyprlang: 0.5.2 -> 0.6.0; hyprgraphics: init at 0.1.1; hyprpaper: 0.7.1 -> 0.7.2; xdg-desktop-portal: 1.3.6 -> 1.3.8 (#365295)

This commit is contained in:
Masum Reza
2024-12-15 22:08:43 +05:30
committed by GitHub
7 changed files with 100 additions and 31 deletions
@@ -1,6 +1,6 @@
{
lib,
stdenv,
gcc14Stdenv,
fetchFromGitHub,
cmake,
makeWrapper,
@@ -18,22 +18,22 @@
qtbase,
qttools,
qtwayland,
sdbus-cpp,
sdbus-cpp_2,
slurp,
systemd,
wayland,
wayland-protocols,
wayland-scanner,
}:
stdenv.mkDerivation (finalAttrs: {
gcc14Stdenv.mkDerivation (finalAttrs: {
pname = "xdg-desktop-portal-hyprland";
version = "1.3.6";
version = "1.3.8";
src = fetchFromGitHub {
owner = "hyprwm";
repo = "xdg-desktop-portal-hyprland";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-1DGktDtSWIJpnDbVoj/qpvJSH5zg6JbOfuh6xqZMap0=";
hash = "sha256-V+CvM2UBJ6KjXD+B7T6vy8EYwLvLX88tZb8KP73MPSo=";
};
depsBuildBuild = [
@@ -58,7 +58,7 @@ stdenv.mkDerivation (finalAttrs: {
qtbase
qttools
qtwayland
sdbus-cpp
sdbus-cpp_2
systemd
wayland
wayland-protocols
+11 -2
View File
@@ -1,6 +1,6 @@
{
lib,
stdenv,
gcc14Stdenv,
fetchFromGitHub,
cmake,
pkg-config,
@@ -11,8 +11,9 @@
xcur2png,
tomlplusplus,
nix-update-script,
fetchpatch,
}:
stdenv.mkDerivation (finalAttrs: {
gcc14Stdenv.mkDerivation (finalAttrs: {
pname = "hyprcursor";
version = "0.1.10";
@@ -43,6 +44,14 @@ stdenv.mkDerivation (finalAttrs: {
"lib"
];
patches = [
# NOTE: remove after next release
(fetchpatch {
name = "001-add-fstream-include";
url = "https://github.com/hyprwm/hyprcursor/commit/c18572a92eb39e4921b4f4c2bca8521b6f701b58.patch";
hash = "sha256-iHRRd/18xEAgvJgmZeSzMp53s+zdIpuaP/sayRfcft4=";
})
];
passthru.updateScript = nix-update-script { };
meta = {
+58
View File
@@ -0,0 +1,58 @@
{
lib,
gcc14Stdenv,
fetchFromGitHub,
cmake,
pkg-config,
cairo,
file,
hyprutils,
libjpeg,
libjxl,
libwebp,
pixman,
}:
gcc14Stdenv.mkDerivation (finalAttrs: {
pname = "hyprgraphics";
version = "0.1.1";
src = fetchFromGitHub {
owner = "hyprwm";
repo = "hyprgraphics";
rev = "v${finalAttrs.version}";
hash = "sha256-FFLJzFTyNhS7tBEEECx0B8Ye/bpmxhFVEKlECgMLc6c=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
cairo
file
hyprutils
libjpeg
libjxl
libwebp
pixman
];
outputs = [
"out"
"dev"
];
doCheck = true;
meta = {
homepage = "https://github.com/hyprwm/hyprlang";
description = "Official implementation library for the hypr config language";
license = lib.licenses.lgpl3Only;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [
khaneliman
];
};
})
+2 -2
View File
@@ -1,6 +1,6 @@
{
lib,
stdenv,
gcc14Stdenv,
fetchFromGitHub,
pkg-config,
cmake,
@@ -14,7 +14,7 @@
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
gcc14Stdenv.mkDerivation (finalAttrs: {
pname = "hypridle";
version = "0.1.5";
+11 -4
View File
@@ -1,23 +1,30 @@
{
lib,
stdenv,
gcc14Stdenv,
fetchFromGitHub,
cmake,
pkg-config,
hyprutils,
}:
stdenv.mkDerivation (finalAttrs: {
gcc14Stdenv.mkDerivation (finalAttrs: {
pname = "hyprlang";
version = "0.5.2";
version = "0.6.0";
src = fetchFromGitHub {
owner = "hyprwm";
repo = "hyprlang";
rev = "v${finalAttrs.version}";
hash = "sha256-Jq9hHYFL5nMHArWgJIcrDHGnzs/MjDi95cyB7cUZIJ4=";
hash = "sha256-oj8V4kvzor5AOStzj4/B4W1ZIObAPxT9K4NfXx7dyKE=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
hyprutils
];
outputs = [
+2 -2
View File
@@ -1,6 +1,6 @@
{
lib,
stdenv,
gcc14Stdenv,
fetchFromGitHub,
cmake,
pkg-config,
@@ -24,7 +24,7 @@
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
gcc14Stdenv.mkDerivation (finalAttrs: {
pname = "hyprlock";
version = "0.5.0";
+10 -15
View File
@@ -1,8 +1,7 @@
{
lib,
stdenv,
gcc14Stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
cairo,
expat,
@@ -12,6 +11,7 @@
libdatrie,
libGL,
libjpeg,
libjxl,
libselinux,
libsepol,
libthai,
@@ -27,27 +27,20 @@
wayland-scanner,
hyprwayland-scanner,
hyprutils,
hyprgraphics,
}:
stdenv.mkDerivation (finalAttrs: {
gcc14Stdenv.mkDerivation (finalAttrs: {
pname = "hyprpaper";
version = "0.7.1";
version = "0.7.2";
src = fetchFromGitHub {
owner = "hyprwm";
repo = "hyprpaper";
rev = "v${finalAttrs.version}";
hash = "sha256-HIK7XJWQCM0BAnwW5uC7P0e7DAkVTy5jlxQ0NwoSy4M=";
hash = "sha256-bXWLq/0Ji13CM4uX4tnBgWpvRysh4H3N1OC1t6d1Sfc=";
};
patches = [
# CMakeLists: look for wayland.xml protocol in wayland-scanner pkgdata
(fetchpatch {
url = "https://github.com/hyprwm/hyprpaper/commit/6c6e54faa84d2de94d2321eda43a8a669ebf3312.patch";
hash = "sha256-Ns7HlUPVgBDIocZRGR6kIW58Mt92kJPQRMSKTvp6Vik=";
})
];
nativeBuildInputs = [
cmake
pkg-config
@@ -64,6 +57,7 @@ stdenv.mkDerivation (finalAttrs: {
libdatrie
libGL
libjpeg
libjxl
libselinux
libsepol
libthai
@@ -76,11 +70,12 @@ stdenv.mkDerivation (finalAttrs: {
wayland
wayland-protocols
hyprutils
hyprgraphics
];
prePatch = ''
substituteInPlace src/main.cpp \
--replace GIT_COMMIT_HASH '"${finalAttrs.src.rev}"'
--replace-fail GIT_COMMIT_HASH '"${finalAttrs.src.rev}"'
'';
meta = with lib; {
@@ -93,7 +88,7 @@ stdenv.mkDerivation (finalAttrs: {
wozeparrot
];
inherit (wayland.meta) platforms;
broken = stdenv.hostPlatform.isDarwin;
broken = gcc14Stdenv.hostPlatform.isDarwin;
mainProgram = "hyprpaper";
};
})