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

26 lines
665 B
Nix
Raw Normal View History

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