mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
31 lines
831 B
Nix
31 lines
831 B
Nix
{ stdenv, fetchFromGitHub,
|
|
xlibsWrapper, libev, libXi, libXfixes,
|
|
pkgconfig, asciidoc, libxslt, docbook_xsl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "unclutter-xfixes";
|
|
version = "1.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Airblader";
|
|
repo = "unclutter-xfixes";
|
|
rev = "v${version}";
|
|
sha256 = "148m4wx8v57s3l2wb69y9imb00y8ca2li27hsxibwnl1wrkb7z4b";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig asciidoc libxslt docbook_xsl ];
|
|
buildInputs = [ xlibsWrapper libev libXi libXfixes ];
|
|
|
|
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Rewrite of unclutter using the X11 Xfixes extension";
|
|
platforms = platforms.unix;
|
|
license = stdenv.lib.licenses.mit;
|
|
inherit version;
|
|
maintainers = [ maintainers.globin ];
|
|
};
|
|
}
|