3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/xdo/default.nix
Kranium Gikos Mendoza cb257bf097 xdo: 0.5 -> 0.5.3
2016-06-26 14:03:28 +08:00

26 lines
670 B
Nix

{ stdenv, fetchFromGitHub, libxcb, xcbutilwm }:
stdenv.mkDerivation rec {
name = "xdo-${version}";
version = "0.5.3";
src = fetchFromGitHub {
owner = "baskerville";
repo = "xdo";
rev = version;
sha256 = "0gfrziil6xw6pkr8k8rn56ihy0333v6dlsw3dckib9hm7ikj0k2f";
};
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
buildInputs = [ libxcb xcbutilwm ];
meta = {
description = "Small X utility to perform elementary actions on windows";
inherit (src.meta) homepage;
maintainers = [ stdenv.lib.maintainers.meisternu ];
license = stdenv.lib.licenses.bsd2;
platforms = stdenv.lib.platforms.linux;
};
}