2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub,
|
2020-04-24 23:36:52 +00:00
|
|
|
xlibsWrapper, libev, libXi, libXfixes,
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config, asciidoc, libxslt, docbook_xsl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "unclutter-xfixes";
|
|
|
|
version = "1.5";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Airblader";
|
|
|
|
repo = "unclutter-xfixes";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "148m4wx8v57s3l2wb69y9imb00y8ca2li27hsxibwnl1wrkb7z4b";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config asciidoc libxslt docbook_xsl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ xlibsWrapper libev libXi libXfixes ];
|
|
|
|
|
|
|
|
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
|
|
|
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Rewrite of unclutter using the X11 Xfixes extension";
|
|
|
|
platforms = platforms.unix;
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.mit;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.globin ];
|
|
|
|
};
|
|
|
|
}
|