Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 45 lines 874 B view raw
1{ 2 stdenv, 3 fetchFromGitHub, 4 xorg, 5 pkgs, 6 lib, 7}: 8stdenv.mkDerivation (finalAttrs: { 9 pname = "fastcompmgr"; 10 version = "0.5"; 11 12 src = fetchFromGitHub { 13 owner = "tycho-kirchner"; 14 repo = "fastcompmgr"; 15 tag = "v${finalAttrs.version}"; 16 hash = "sha256-yH/+E2IBe9KZxKTiP8oNcb9fJcZ0ukuenqTSv97ed44="; 17 }; 18 19 nativeBuildInputs = [ pkgs.pkg-config ]; 20 21 buildInputs = [ 22 xorg.libX11 23 xorg.libXcomposite 24 xorg.libXdamage 25 xorg.libXfixes 26 xorg.libXrender 27 ]; 28 29 installPhase = '' 30 runHook preInstall 31 32 mkdir -p $out/bin 33 cp fastcompmgr $out/bin 34 35 runHook postInstall 36 ''; 37 38 meta = { 39 description = "Fast compositor for X11"; 40 homepage = "https://github.com/tycho-kirchner/fastcompmgr"; 41 license = lib.licenses.mit; 42 maintainers = with lib.maintainers; [ camerondugan ]; 43 platforms = lib.platforms.linux; 44 }; 45})