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
39 lines
842 B
Nix
39 lines
842 B
Nix
{
|
|
enableX11 ? true,
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
pkg-config,
|
|
xorg,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "frame";
|
|
version = "2.5.0";
|
|
src = fetchurl {
|
|
url = "https://launchpad.net/frame/trunk/v${version}/+download/${pname}-${version}.tar.xz";
|
|
sha256 = "bc2a20cd3ac1e61fe0461bd3ee8cb250dbcc1fa511fad0686d267744e9c78f3a";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
stdenv
|
|
]
|
|
++ lib.optionals enableX11 [
|
|
xorg.xorgserver
|
|
xorg.libX11
|
|
xorg.libXext
|
|
xorg.libXi
|
|
];
|
|
|
|
configureFlags = lib.optional enableX11 "--with-x11";
|
|
|
|
meta = {
|
|
homepage = "https://launchpad.net/frame";
|
|
description = "Handles the buildup and synchronization of a set of simultaneous touches";
|
|
mainProgram = "frame-test-x11";
|
|
license = lib.licenses.gpl3;
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|