blob: 6a02b0940296bfca597f98b293cd272bc616b7db (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
stdenv,
fetchFromGitHub,
xorg,
pkgs,
lib,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fastcompmgr";
version = "0.4";
src = fetchFromGitHub {
owner = "tycho-kirchner";
repo = "fastcompmgr";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-FrPM6k4280SNnmi/jiwKU/O2eBue+5h8aNDCiIqZ3+c=";
};
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;
};
})
|