hyprland: use packaged udis86, udis86: update (#542362)

This commit is contained in:
Austin Horstman
2026-08-18 01:02:53 +00:00
committed by GitHub
2 changed files with 10 additions and 17 deletions

View File

@@ -14,6 +14,7 @@
glslang,
hyprcursor,
hyprgraphics,
hyprland-protocols,
hyprland-qtutils,
hyprlang,
hyprutils,
@@ -38,6 +39,7 @@
readline,
systemd,
tomlplusplus,
udis86,
uwsm,
wayland,
wayland-protocols,
@@ -90,9 +92,8 @@ customStdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "hyprwm";
repo = "hyprland";
fetchSubmodules = true;
tag = "v${finalAttrs.version}";
hash = "sha256-jOcfiv+Zs2iz5oTIQcJXZ0+5MfqW0oLgGxD0cKdmXpE=";
hash = "sha256-IptZjFf/bE9lv8SQLef4Wmn3KOs3BwchYr6aFcCJ9NI=";
};
postPatch = ''
@@ -140,7 +141,6 @@ customStdenv.mkDerivation (finalAttrs: {
cmake
pkg-config
wayland-scanner
# for udis86
python3
];
@@ -158,6 +158,7 @@ customStdenv.mkDerivation (finalAttrs: {
glslang
hyprcursor.dev
hyprgraphics
hyprland-protocols
hyprlang
hyprutils
lcms2
@@ -176,6 +177,7 @@ customStdenv.mkDerivation (finalAttrs: {
re2
readline
tomlplusplus
udis86
wayland
wayland-protocols
]

View File

@@ -2,30 +2,21 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
autoreconfHook,
python3,
}:
stdenv.mkDerivation {
pname = "udis86";
version = "unstable-2014-12-25";
version = "1.7.2-unstable-2022-10-13";
src = fetchFromGitHub {
owner = "vmt";
owner = "canihavesomecoffee";
repo = "udis86";
rev = "56ff6c87c11de0ffa725b14339004820556e343d";
hash = "sha256-bmm1rgzZeStQJXEmcT8vnplsnmgN3LJlYs7COmqsDU8=";
rev = "5336633af70f3917760a6d441ff02d93477b0c86";
hash = "sha256-HifdUQPGsKQKQprByeIznvRLONdOXeolOsU5nkwIv3g=";
};
patches = [
(fetchpatch {
name = "support-python3-for-building";
url = "https://github.com/vmt/udis86/commit/3c05ce60372cb2eba39d6eb87ac05af8a664e1b1.patch";
hash = "sha256-uF4Cwt7UMkyd0RX6cCMQt9xvkkUNQvTDH/Z/6nHtVT8=";
})
];
nativeBuildInputs = [
autoreconfHook
python3
@@ -43,7 +34,7 @@ stdenv.mkDerivation {
];
meta = {
homepage = "https://udis86.sourceforge.net";
homepage = "https://github.com/canihavesomecoffee/udis86";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ timor ];
mainProgram = "udcli";