2019-04-11 19:22:51 +03:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, libX11
|
|
|
|
, glib
|
|
|
|
, pkgconfig
|
|
|
|
, libXmu
|
|
|
|
}:
|
2013-07-26 18:15:22 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-11 19:22:51 +03:00
|
|
|
|
2019-04-11 19:26:37 +03:00
|
|
|
pname = "wmctrl";
|
|
|
|
version = "1.07";
|
2019-04-11 19:22:51 +03:00
|
|
|
|
2013-07-26 18:15:22 +04:00
|
|
|
src = fetchurl {
|
2019-04-11 19:26:37 +03: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 18:15:22 +04:00
|
|
|
sha256 = "1afclc57b9017a73mfs9w7lbdvdipmf9q0xdk116f61gnvyix2np";
|
|
|
|
};
|
2019-04-11 19:22:51 +03:00
|
|
|
|
2017-09-06 00:26:13 +03:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libX11 libXmu glib ];
|
2013-07-26 18:15:22 +04:00
|
|
|
|
2014-07-09 23:50:58 +04:00
|
|
|
patches = [ ./64-bit-data.patch ];
|
|
|
|
|
2013-07-26 18:15:22 +04:00
|
|
|
meta = {
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "https://sites.google.com/site/tstyblo/wmctrl";
|
2019-04-11 19:26:37 +03:00
|
|
|
description = "CLI tool to interact with EWMH/NetWM compatible X Window Managers";
|
2013-07-27 00:48:07 +04:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2013-07-26 18:15:22 +04:00
|
|
|
platforms = with stdenv.lib.platforms; all;
|
2019-04-11 19:22:51 +03:00
|
|
|
maintainers = [ stdenv.lib.maintainers.Anton-Latukha ];
|
2013-07-26 18:15:22 +04:00
|
|
|
};
|
2019-04-11 19:22:51 +03:00
|
|
|
|
2013-07-26 18:15:22 +04:00
|
|
|
}
|