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

23 lines
630 B
Nix
Raw Normal View History

2014-08-09 23:31:05 +02:00
{ stdenv, fetchurl, libxcb, xcbutilwm }:
stdenv.mkDerivation rec {
name = "xdo-0.5";
2014-08-09 23:31:05 +02:00
src = fetchurl {
url = "https://github.com/baskerville/xdo/archive/0.5.tar.gz";
sha256 = "0sjnjs12i0gp1dg1m5jid4a3bg9am4qkf0qafyp6yn176yzcz1i6";
2014-08-09 23:31:05 +02:00
};
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 ];
2014-08-09 23:31:05 +02:00
license = "Custom";
platforms = stdenv.lib.platforms.linux;
};
}