2019-04-11 16:22:51 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, libX11
|
|
|
|
, glib
|
|
|
|
, pkgconfig
|
|
|
|
, libXmu
|
|
|
|
}:
|
2013-07-26 14:15:22 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-11 16:22:51 +00:00
|
|
|
|
2019-04-11 16:26:37 +00:00
|
|
|
pname = "wmctrl";
|
|
|
|
version = "1.07";
|
2019-04-11 16:22:51 +00:00
|
|
|
|
2013-07-26 14:15:22 +00:00
|
|
|
src = fetchurl {
|
2019-04-11 16:26:37 +00:00
|
|
|
# NOTE: 2019-04-11: There is also a semi-official mirror: http://tripie.sweb.cz/utils/wmctrl/
|
|
|
|
url = "https://sites.google.com/site/tstyblo/wmctrl/${pname}-${version}.tar.gz";
|
2013-07-26 14:15:22 +00:00
|
|
|
sha256 = "1afclc57b9017a73mfs9w7lbdvdipmf9q0xdk116f61gnvyix2np";
|
|
|
|
};
|
2019-04-11 16:22:51 +00:00
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libX11 libXmu glib ];
|
2013-07-26 14:15:22 +00:00
|
|
|
|
2014-07-09 19:50:58 +00:00
|
|
|
patches = [ ./64-bit-data.patch ];
|
|
|
|
|
2013-07-26 14:15:22 +00:00
|
|
|
meta = {
|
2019-04-11 16:26:37 +00:00
|
|
|
homepage = https://sites.google.com/site/tstyblo/wmctrl;
|
|
|
|
description = "CLI tool to interact with EWMH/NetWM compatible X Window Managers";
|
2013-07-26 20:48:07 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2013-07-26 14:15:22 +00:00
|
|
|
platforms = with stdenv.lib.platforms; all;
|
2019-04-11 16:22:51 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.Anton-Latukha ];
|
2013-07-26 14:15:22 +00:00
|
|
|
};
|
2019-04-11 16:22:51 +00:00
|
|
|
|
2013-07-26 14:15:22 +00:00
|
|
|
}
|