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

26 lines
665 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, libxcb, xcbutil, xcbutilwm }:
2014-08-09 21:31:05 +00:00
stdenv.mkDerivation rec {
pname = "xdo";
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;
sha256 = "1h3jrygcjjbavdbkpx2hscsf0yf97gk487lzjdlvymd7dxdv9hy9";
2014-08-09 21:31:05 +00:00
};
2017-08-27 01:40:38 +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
meta = with lib; {
2014-08-09 21:31:05 +00:00
description = "Small X utility to perform elementary actions on windows";
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 21:31:05 +00:00
};
}