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
76 lines
1.6 KiB
Nix
76 lines
1.6 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
pkg-config,
|
|
bison,
|
|
flex,
|
|
libice,
|
|
libsm,
|
|
libx11,
|
|
libxext,
|
|
libxmu,
|
|
xorgproto,
|
|
libxrandr,
|
|
libxt,
|
|
writeScript,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "tab-window-manager";
|
|
version = "1.0.13.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://xorg/individual/app/twm-${finalAttrs.version}.tar.xz";
|
|
hash = "sha256-pSU0dVqotJLIhOUvqYi6yEq01UZBlUZ5uarwjjI98sU=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
bison
|
|
flex
|
|
];
|
|
|
|
buildInputs = [
|
|
xorgproto
|
|
libice
|
|
libsm
|
|
libx11
|
|
libxext
|
|
libxmu
|
|
libxrandr
|
|
libxt
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
|
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash -p common-updater-scripts
|
|
version="$(list-directory-versions --pname twm \
|
|
--url https://xorg.freedesktop.org/releases/individual/app/ \
|
|
| sort -V | tail -n1)"
|
|
update-source-version ${finalAttrs.pname} "$version"
|
|
'';
|
|
};
|
|
|
|
meta = {
|
|
description = "Default Window Manager for the X Window System";
|
|
longDescription = ''
|
|
The Tab Window Manager (twm) is a window manager for the X Window System.
|
|
It provides titlebars, shaped windows, several forms of icon management, user-defined macro
|
|
functions, click-to-type and pointer-driven keyboard focus, and user-specified key and pointer
|
|
button bindings.
|
|
'';
|
|
homepage = "https://gitlab.freedesktop.org/xorg/app/twm";
|
|
license = with lib.licenses; [
|
|
mitOpenGroup
|
|
hpnd
|
|
x11
|
|
];
|
|
mainProgram = "twm";
|
|
maintainers = [ ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|