nixpkgs/pkgs/tools/misc/xdo/default.nix

26 lines
659 B
Nix
Raw Normal View History

2016-06-26 06:03:28 +00:00
{ stdenv, fetchFromGitHub, libxcb, xcbutilwm }:
2014-08-09 21:31:05 +00:00
stdenv.mkDerivation rec {
2016-06-26 06:03:28 +00:00
name = "xdo-${version}";
2017-03-05 18:05:43 +00:00
version = "0.5.5";
2014-08-09 21:31:05 +00:00
2016-06-26 06:03:28 +00:00
src = fetchFromGitHub {
owner = "baskerville";
repo = "xdo";
rev = version;
2017-03-05 18:05:43 +00:00
sha256 = "17i7ym4jrrbsiqs0jnm6k49hp9qn32hswad4j0lavwgv4wawachz";
2014-08-09 21:31:05 +00:00
};
2017-03-05 18:05:43 +00:00
makeFlags = "PREFIX=$(out)";
2014-08-09 21:31:05 +00:00
buildInputs = [ libxcb xcbutilwm ];
2017-03-05 18:05:43 +00:00
meta = with stdenv.lib; {
2014-08-09 21:31:05 +00:00
description = "Small X utility to perform elementary actions on windows";
2017-03-05 18:05:43 +00:00
homepage = "https://github.com/baskerville/xdo";
maintainers = with maintainers; [ meisternu ];
license = licenses.bsd2;
platforms = platforms.linux;
2014-08-09 21:31:05 +00:00
};
}