2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchurl
|
|
|
|
, libX11
|
|
|
|
, glib
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, libXmu
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
pname = "wmctrl";
|
|
|
|
version = "1.07";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
# 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";
|
|
|
|
sha256 = "1afclc57b9017a73mfs9w7lbdvdipmf9q0xdk116f61gnvyix2np";
|
|
|
|
};
|
|
|
|
|
2021-07-16 19:40:57 +00:00
|
|
|
strictDeps = true;
|
|
|
|
depsBuildBuild = [ pkg-config ];
|
|
|
|
nativeBuildInputs = [ glib.dev ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libX11 libXmu glib ];
|
|
|
|
|
|
|
|
patches = [ ./64-bit-data.patch ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://sites.google.com/site/tstyblo/wmctrl";
|
|
|
|
description = "CLI tool to interact with EWMH/NetWM compatible X Window Managers";
|
2024-05-15 15:35:15 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2021-01-15 22:18:51 +00:00
|
|
|
platforms = with lib.platforms; all;
|
|
|
|
maintainers = [ lib.maintainers.Anton-Latukha ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "wmctrl";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|