88abffb7d2
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
29 lines
802 B
Nix
29 lines
802 B
Nix
{ lib, stdenv, fetchFromGitHub,
|
|
xlibsWrapper, libev, libXi, libXfixes,
|
|
pkg-config, asciidoc, libxslt, docbook_xsl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "unclutter-xfixes";
|
|
version = "1.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Airblader";
|
|
repo = "unclutter-xfixes";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-suKmaoJq0PBHZc7NzBQ60JGwJkAtWmvzPtTHWOPJEdc=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config asciidoc libxslt docbook_xsl ];
|
|
buildInputs = [ xlibsWrapper libev libXi libXfixes ];
|
|
|
|
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
description = "Rewrite of unclutter using the X11 Xfixes extension";
|
|
platforms = platforms.unix;
|
|
license = lib.licenses.mit;
|
|
maintainers = [ maintainers.globin ];
|
|
};
|
|
}
|