picom: nixfmt

This commit is contained in:
Gutyina Gergő 2024-11-13 09:12:50 +01:00
parent c9eccaddb7
commit 0b4a7c7709
No known key found for this signature in database

View File

@ -1,34 +1,35 @@
{ asciidoctor
, dbus
, docbook_xml_dtd_45
, docbook_xsl
, fetchFromGitHub
, lib
, libconfig
, libdrm
, libev
, libGL
, libepoxy
, libX11
, libxcb
, libxdg_basedir
, libXext
, libxml2
, libxslt
, makeWrapper
, meson
, ninja
, pcre2
, pixman
, pkg-config
, stdenv
, uthash
, xcbutil
, xcbutilimage
, xcbutilrenderutil
, xorgproto
, xwininfo
, withDebug ? false
{
asciidoctor,
dbus,
docbook_xml_dtd_45,
docbook_xsl,
fetchFromGitHub,
lib,
libconfig,
libdrm,
libev,
libGL,
libepoxy,
libX11,
libxcb,
libxdg_basedir,
libXext,
libxml2,
libxslt,
makeWrapper,
meson,
ninja,
pcre2,
pixman,
pkg-config,
stdenv,
uthash,
xcbutil,
xcbutilimage,
xcbutilrenderutil,
xorgproto,
xwininfo,
withDebug ? false,
}:
stdenv.mkDerivation (finalAttrs: {
@ -90,12 +91,14 @@ stdenv.mkDerivation (finalAttrs: {
# In debug mode, also copy src directory to store. If you then run `gdb picom`
# in the bin directory of picom store path, gdb finds the source files.
postInstall = ''
wrapProgram $out/bin/picom-trans \
--prefix PATH : ${lib.makeBinPath [ xwininfo ]}
'' + lib.optionalString withDebug ''
cp -r ../src $out/
'';
postInstall =
''
wrapProgram $out/bin/picom-trans \
--prefix PATH : ${lib.makeBinPath [ xwininfo ]}
''
+ lib.optionalString withDebug ''
cp -r ../src $out/
'';
meta = with lib; {
description = "Fork of XCompMgr, a sample compositing manager for X servers";
@ -115,7 +118,12 @@ stdenv.mkDerivation (finalAttrs: {
'';
license = licenses.mit;
homepage = "https://github.com/yshui/picom";
maintainers = with maintainers; [ ertes gepbird twey thiagokokada ];
maintainers = with maintainers; [
ertes
gepbird
twey
thiagokokada
];
platforms = platforms.linux;
mainProgram = "picom";
};