fastcompmgr: init at 0.3

fastcompmgr: init at 0.3
This commit is contained in:
Cameron Dugan 2024-08-23 21:05:40 -04:00
parent 6205e30a7b
commit 80f3d367db

View File

@ -0,0 +1,45 @@
{
stdenv,
fetchFromGitHub,
xorg,
pkgs,
lib,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fastcompmgr";
version = "0.3";
src = fetchFromGitHub {
owner = "tycho-kirchner";
repo = "fastcompmgr";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-UKX0gjhbbXSXfyw/NGA31vTOfgd4kdnxO7lIs+mkgFs=";
};
nativeBuildInputs = [ pkgs.pkg-config ];
buildInputs = [
xorg.libX11
xorg.libXcomposite
xorg.libXdamage
xorg.libXfixes
xorg.libXrender
];
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp fastcompmgr $out/bin
runHook postInstall
'';
meta = {
description = "Fast compositor for X11";
homepage = "https://github.com/tycho-kirchner/fastcompmgr";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ camerondugan ];
platforms = lib.platforms.linux;
};
})