nixpkgs/pkgs/tools/misc/xdo/default.nix
2020-04-10 17:54:53 +01:00

26 lines
667 B
Nix

{ stdenv, fetchFromGitHub, libxcb, xcbutil, xcbutilwm }:
stdenv.mkDerivation rec {
pname = "xdo";
version = "0.5.7";
src = fetchFromGitHub {
owner = "baskerville";
repo = "xdo";
rev = version;
sha256 = "1h3jrygcjjbavdbkpx2hscsf0yf97gk487lzjdlvymd7dxdv9hy9";
};
makeFlags = [ "PREFIX=$(out)" ];
buildInputs = [ libxcb xcbutilwm xcbutil ];
meta = with stdenv.lib; {
description = "Small X utility to perform elementary actions on windows";
homepage = "https://github.com/baskerville/xdo";
maintainers = with maintainers; [ meisternu ];
license = licenses.bsd2;
platforms = platforms.linux;
};
}