Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
55 lines
1.4 KiB
Nix
55 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
pkg-config,
|
|
xorgproto,
|
|
libx11,
|
|
libxext,
|
|
testers,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libdmx";
|
|
version = "1.1.5";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://xorg/individual/lib/libdmx-${finalAttrs.version}.tar.xz";
|
|
hash = "sha256-NaTiaosLK0/jZEHcpGNkXD+lLSgqw1IFAaOOqULL908=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [
|
|
xorgproto
|
|
libx11
|
|
libxext
|
|
];
|
|
|
|
configureFlags = lib.optional (
|
|
stdenv.hostPlatform != stdenv.buildPlatform
|
|
) "--enable-malloc0returnsnull";
|
|
|
|
passthru = {
|
|
# updateScript = # libdmx it deprecated and thus needs no updatescript
|
|
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
|
};
|
|
|
|
meta = {
|
|
description = "Xlib-based library for the DMX (Distributed Multihead X) extension";
|
|
longDescription = ''
|
|
This library allows X11 clients to use the Distributed Multihead X (DMX) Extension,
|
|
as previously implemented in the Xdmx server.
|
|
X.Org removed support for the Xdmx server from the xorg-server releases in the version 21
|
|
release in 2021. This library is thus now considered deprecated and the version 1.1.5 release
|
|
is the last release X.Org plans to make of libdmx.
|
|
'';
|
|
homepage = "https://gitlab.freedesktop.org/xorg/lib/libdmx";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
pkgConfigModules = [ "dmx" ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|