2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libxcb, xcbutil, xcbutilwm }:
|
2014-08-09 21:31:05 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "xdo";
|
2018-02-28 03:08:09 +00:00
|
|
|
version = "0.5.7";
|
2014-08-09 21:31:05 +00:00
|
|
|
|
2016-06-26 06:03:28 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "baskerville";
|
|
|
|
repo = "xdo";
|
|
|
|
rev = version;
|
2018-02-28 03:08:09 +00:00
|
|
|
sha256 = "1h3jrygcjjbavdbkpx2hscsf0yf97gk487lzjdlvymd7dxdv9hy9";
|
2014-08-09 21:31:05 +00:00
|
|
|
};
|
2017-08-27 01:40:38 +00:00
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2014-08-09 21:31:05 +00:00
|
|
|
|
2017-08-27 01:40:38 +00:00
|
|
|
buildInputs = [ libxcb xcbutilwm xcbutil ];
|
2014-08-09 21:31:05 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-08-09 21:31:05 +00:00
|
|
|
description = "Small X utility to perform elementary actions on windows";
|
2020-04-01 01:11:51 +00: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;
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "xdo";
|
2014-08-09 21:31:05 +00:00
|
|
|
};
|
|
|
|
}
|