1 { lib, stdenv, fetchFromGitHub,
2 libev, libX11, libXext, libXi, libXfixes,
3 pkg-config, asciidoc, libxslt, docbook_xsl }:
5 stdenv.mkDerivation rec {
6 pname = "unclutter-xfixes";
9 src = fetchFromGitHub {
11 repo = "unclutter-xfixes";
13 sha256 = "sha256-suKmaoJq0PBHZc7NzBQ60JGwJkAtWmvzPtTHWOPJEdc=";
16 nativeBuildInputs = [ pkg-config asciidoc libxslt docbook_xsl ];
17 buildInputs = [ libev libX11 libXext libXi libXfixes ];
20 substituteInPlace Makefile --replace 'PKG_CONFIG =' 'PKG_CONFIG ?='
22 makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
24 installFlags = [ "PREFIX=$(out)" ];
27 description = "Rewrite of unclutter using the X11 Xfixes extension";
28 platforms = platforms.unix;
29 license = lib.licenses.mit;
30 maintainers = [ maintainers.globin ];
31 mainProgram = "unclutter";