nixpkgs/pkgs/tools/misc/xdo/default.nix
Maxwell 65dd28c569 xdo from 0.3 -> 0.5
This incorporates a number of bugfixes, as well as adding the
`below` and `above` actions

Also moved package from fetchurl to fetchFromGitHub
2016-03-06 08:45:23 -05:00

23 lines
630 B
Nix

{ stdenv, fetchurl, libxcb, xcbutilwm }:
stdenv.mkDerivation rec {
name = "xdo-0.5";
src = fetchurl {
url = "https://github.com/baskerville/xdo/archive/0.5.tar.gz";
sha256 = "0sjnjs12i0gp1dg1m5jid4a3bg9am4qkf0qafyp6yn176yzcz1i6";
};
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
buildInputs = [ libxcb xcbutilwm ];
meta = {
description = "Small X utility to perform elementary actions on windows";
homepage = https://github.com/baskerville/xdo;
maintainers = [ stdenv.lib.maintainers.meisternu ];
license = "Custom";
platforms = stdenv.lib.platforms.linux;
};
}