libdisplay-info_0_2: init at 0.2.0

for niri, cosmic-comp, pin libdisplay-info
This commit is contained in:
John Titor
2025-10-25 15:37:52 +05:30
parent d0a16bfdfb
commit 80ee38741a
5 changed files with 27 additions and 9 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
fetchFromGitHub,
libcosmicAppHook,
pkg-config,
libdisplay-info,
libdisplay-info_0_2,
libgbm,
libinput,
pixman,
@@ -40,7 +40,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
];
buildInputs = [
libdisplay-info
libdisplay-info_0_2
libgbm
libinput
pixman
+3 -3
View File
@@ -10,7 +10,7 @@
v4l-utils,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "libdisplay-info";
version = "0.3.0";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
domain = "gitlab.freedesktop.org";
owner = "emersion";
repo = "libdisplay-info";
rev = version;
rev = finalAttrs.version;
sha256 = "sha256-nXf2KGovNKvcchlHlzKBkAOeySMJXgxMpbi5z9gLrdc=";
};
@@ -44,4 +44,4 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
maintainers = with maintainers; [ pedrohlc ];
};
}
})
@@ -0,0 +1,18 @@
{
libdisplay-info,
fetchFromGitLab,
}:
libdisplay-info.overrideAttrs (
finalAttrs: oldAttrs: {
version = "0.2.0";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "emersion";
repo = "libdisplay-info";
rev = finalAttrs.version;
sha256 = "sha256-6xmWBrPHghjok43eIDGeshpUEQTuwWLXNHg7CnBUt3Q=";
};
}
)
+2 -2
View File
@@ -4,7 +4,7 @@
eudev,
fetchFromGitHub,
installShellFiles,
libdisplay-info,
libdisplay-info_0_2,
libglvnd,
libinput,
libxkbcommon,
@@ -58,7 +58,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
];
buildInputs = [
libdisplay-info
libdisplay-info_0_2
libglvnd # For libEGL
libinput
libxkbcommon
+2 -2
View File
@@ -10,7 +10,7 @@
wayland-scanner,
cairo,
libGL,
libdisplay-info,
libdisplay-info_0_2,
libdrm,
libevdev,
libinput,
@@ -76,7 +76,7 @@ stdenv.mkDerivation rec {
buildInputs = [
cairo
libGL
libdisplay-info
libdisplay-info_0_2
libdrm
libevdev
libinput