2016-08-13 11:46:43 +01:00
|
|
|
{ stdenv, fetchFromGitHub,
|
|
|
|
xlibsWrapper, libev, libXi, libXfixes,
|
|
|
|
pkgconfig, asciidoc, libxslt, docbook_xsl }:
|
|
|
|
|
2018-12-16 17:48:58 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "unclutter-xfixes";
|
|
|
|
version = "1.4";
|
2016-08-13 11:46:43 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Airblader";
|
|
|
|
repo = "unclutter-xfixes";
|
|
|
|
rev = "v${version}";
|
2018-12-14 07:02:00 +00:00
|
|
|
sha256 = "0anny6hvwf5nh7ghgi4gdcywhwyhgfvqvp7fjhm59kjc3qxnwf96";
|
2016-08-13 11:46:43 +01:00
|
|
|
};
|
|
|
|
|
2018-12-16 17:48:58 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig asciidoc libxslt docbook_xsl ];
|
|
|
|
buildInputs = [ xlibsWrapper libev libXi libXfixes ];
|
2016-08-13 11:46:43 +01:00
|
|
|
|
2018-12-16 17:48:58 +00:00
|
|
|
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
2016-08-13 11:46:43 +01:00
|
|
|
|
2018-12-16 17:48:58 +00:00
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
2016-08-13 11:46:43 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Rewrite of unclutter using the X11 Xfixes extension";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
inherit version;
|
|
|
|
};
|
|
|
|
}
|