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