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

26 lines
670 B
Nix
Raw Normal View History

2016-06-26 08:03:28 +02:00
{ stdenv, fetchFromGitHub, libxcb, xcbutilwm }:
2014-08-09 23:31:05 +02:00
stdenv.mkDerivation rec {
2016-06-26 08:03:28 +02:00
name = "xdo-${version}";
version = "0.5.3";
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 = "0gfrziil6xw6pkr8k8rn56ihy0333v6dlsw3dckib9hm7ikj0k2f";
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";
2016-06-26 08:03:28 +02:00
inherit (src.meta) homepage;
maintainers = [ stdenv.lib.maintainers.meisternu ];
2016-06-26 08:03:28 +02:00
license = stdenv.lib.licenses.bsd2;
2014-08-09 23:31:05 +02:00
platforms = stdenv.lib.platforms.linux;
};
}