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

26 lines
671 B
Nix
Raw Normal View History

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