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