nixpkgs/pkgs/tools/X11/wmctrl/default.nix

34 lines
839 B
Nix
Raw Normal View History

2019-04-11 16:22:51 +00:00
{ stdenv
, fetchurl
, libX11
, glib
, pkgconfig
, libXmu
}:
stdenv.mkDerivation rec {
2019-04-11 16:22:51 +00:00
pname = "wmctrl";
version = "1.07";
2019-04-11 16:22:51 +00:00
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";
};
2019-04-11 16:22:51 +00:00
nativeBuildInputs = [ pkgconfig ];
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";
license = stdenv.lib.licenses.gpl2;
platforms = with stdenv.lib.platforms; all;
2019-04-11 16:22:51 +00:00
maintainers = [ stdenv.lib.maintainers.Anton-Latukha ];
};
2019-04-11 16:22:51 +00:00
}