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

26 lines
659 B
Nix
Raw Normal View History

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