2016-06-26 07:03:28 +01:00
|
|
|
{ stdenv, fetchFromGitHub, libxcb, xcbutilwm }:
|
2014-08-09 22:31:05 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-06-26 07:03:28 +01:00
|
|
|
name = "xdo-${version}";
|
|
|
|
version = "0.5.3";
|
2014-08-09 22:31:05 +01:00
|
|
|
|
2016-06-26 07:03:28 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "baskerville";
|
|
|
|
repo = "xdo";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0gfrziil6xw6pkr8k8rn56ihy0333v6dlsw3dckib9hm7ikj0k2f";
|
2014-08-09 22:31:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
|
|
|
|
|
|
|
|
buildInputs = [ libxcb xcbutilwm ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Small X utility to perform elementary actions on windows";
|
2016-06-26 07:03:28 +01:00
|
|
|
inherit (src.meta) homepage;
|
2014-09-13 12:51:39 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.meisternu ];
|
2016-06-26 07:03:28 +01:00
|
|
|
license = stdenv.lib.licenses.bsd2;
|
2014-08-09 22:31:05 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|