Merge pull request #16509 from womfoo/xdo

xdo: 0.5 -> 0.5.3
This commit is contained in:
Pascal Wittmann 2016-06-26 10:46:27 +02:00 committed by GitHub
commit b083994fae

View File

@ -1,11 +1,14 @@
{ stdenv, fetchurl, libxcb, xcbutilwm }: { stdenv, fetchFromGitHub, libxcb, xcbutilwm }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "xdo-0.5"; name = "xdo-${version}";
version = "0.5.3";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/baskerville/xdo/archive/0.5.tar.gz"; owner = "baskerville";
sha256 = "0sjnjs12i0gp1dg1m5jid4a3bg9am4qkf0qafyp6yn176yzcz1i6"; repo = "xdo";
rev = version;
sha256 = "0gfrziil6xw6pkr8k8rn56ihy0333v6dlsw3dckib9hm7ikj0k2f";
}; };
prePatch = ''sed -i "s@/usr/local@$out@" Makefile''; prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
@ -14,9 +17,9 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "Small X utility to perform elementary actions on windows"; description = "Small X utility to perform elementary actions on windows";
homepage = https://github.com/baskerville/xdo; inherit (src.meta) homepage;
maintainers = [ stdenv.lib.maintainers.meisternu ]; maintainers = [ stdenv.lib.maintainers.meisternu ];
license = "Custom"; license = stdenv.lib.licenses.bsd2;
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux;
}; };
} }