2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub,
|
2016-08-13 10:46:43 +00:00
|
|
|
xlibsWrapper, libev, libXi, libXfixes,
|
2021-01-17 03:51:22 +00:00
|
|
|
pkg-config, asciidoc, libxslt, docbook_xsl }:
|
2016-08-13 10:46:43 +00:00
|
|
|
|
2018-12-16 17:48:58 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "unclutter-xfixes";
|
2019-01-02 04:23:31 +00:00
|
|
|
version = "1.5";
|
2016-08-13 10:46:43 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Airblader";
|
|
|
|
repo = "unclutter-xfixes";
|
|
|
|
rev = "v${version}";
|
2019-01-02 04:23:31 +00:00
|
|
|
sha256 = "148m4wx8v57s3l2wb69y9imb00y8ca2li27hsxibwnl1wrkb7z4b";
|
2016-08-13 10:46:43 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 03:51:22 +00:00
|
|
|
nativeBuildInputs = [ pkg-config asciidoc libxslt docbook_xsl ];
|
2018-12-16 17:48:58 +00:00
|
|
|
buildInputs = [ xlibsWrapper libev libXi libXfixes ];
|
2016-08-13 10:46:43 +00:00
|
|
|
|
2018-12-16 17:48:58 +00:00
|
|
|
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
2016-08-13 10:46:43 +00:00
|
|
|
|
2018-12-16 17:48:58 +00:00
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
2016-08-13 10:46:43 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-08-13 10:46:43 +00:00
|
|
|
description = "Rewrite of unclutter using the X11 Xfixes extension";
|
|
|
|
platforms = platforms.unix;
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.mit;
|
2019-08-20 17:36:05 +00:00
|
|
|
maintainers = [ maintainers.globin ];
|
2016-08-13 10:46:43 +00:00
|
|
|
};
|
|
|
|
}
|