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}";
|
2018-02-28 03:08:09 +00:00
|
|
|
version = "0.5.7";
|
2014-08-09 22:31:05 +01:00
|
|
|
|
2016-06-26 07:03:28 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "baskerville";
|
|
|
|
repo = "xdo";
|
|
|
|
rev = version;
|
2018-02-28 03:08:09 +00:00
|
|
|
sha256 = "1h3jrygcjjbavdbkpx2hscsf0yf97gk487lzjdlvymd7dxdv9hy9";
|
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
|
|
|
};
|
|
|
|
}
|