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
58 lines
1.4 KiB
Nix
58 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitLab,
|
|
pkg-config,
|
|
autoreconfHook,
|
|
util-macros,
|
|
xorgproto,
|
|
libX11,
|
|
libXext,
|
|
testers,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libapplewm";
|
|
version = "1.4.1-unstable-2021-01-04";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.freedesktop.org";
|
|
owner = "xorg/lib";
|
|
repo = "libapplewm";
|
|
rev = "be972ebc3a97292e7d2b2350eff55ae12df99a42";
|
|
hash = "sha256-NH9YeOEtnEupqpnsMLC21I+LmCOzT7KnfdzNNWqba/Y=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
autoreconfHook
|
|
util-macros
|
|
];
|
|
|
|
buildInputs = [
|
|
xorgproto
|
|
libX11
|
|
libXext
|
|
];
|
|
|
|
passthru = {
|
|
# updateScript = # no updatescript since we don't use a tagged release (last one was 14 years ago)
|
|
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
|
};
|
|
|
|
meta = {
|
|
description = "Xlib-based library for the Apple-WM extension";
|
|
longDescription = ''
|
|
AppleWM is a simple library designed to interface with the Apple-WM extension.
|
|
This extension allows X window managers to better interact with the Mac OS X Aqua user
|
|
interface when running X11 in a rootless mode.
|
|
'';
|
|
homepage = "https://gitlab.freedesktop.org/xorg/lib/libapplewm";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
pkgConfigModules = [ "applewm" ];
|
|
platforms = lib.platforms.darwin;
|
|
};
|
|
})
|