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