2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv
|
2019-04-11 17:22:51 +01:00
|
|
|
, fetchurl
|
|
|
|
, libX11
|
|
|
|
, glib
|
2021-01-17 09:17:16 +00:00
|
|
|
, pkg-config
|
2019-04-11 17:22:51 +01:00
|
|
|
, 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
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
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";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = with lib.platforms; all;
|
|
|
|
maintainers = [ 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
|
|
|
}
|