Merge pull request #59321 from Anton-Latukha/adopt-wmctrl
wmctrl: upd upstream links, clean-up, adopt package
This commit is contained in:
commit
728c6b7582
@ -1,23 +1,33 @@
|
|||||||
{stdenv, fetchurl, libX11, glib, pkgconfig, libXmu }:
|
{ stdenv
|
||||||
|
, fetchurl
|
||||||
|
, libX11
|
||||||
|
, glib
|
||||||
|
, pkgconfig
|
||||||
|
, libXmu
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
name = "wmctrl-1.07";
|
pname = "wmctrl";
|
||||||
|
version = "1.07";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://tomas.styblo.name/wmctrl/dist/${name}.tar.gz";
|
# 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";
|
sha256 = "1afclc57b9017a73mfs9w7lbdvdipmf9q0xdk116f61gnvyix2np";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ libX11 libXmu glib ];
|
buildInputs = [ libX11 libXmu glib ];
|
||||||
|
|
||||||
patches = [ ./64-bit-data.patch ];
|
patches = [ ./64-bit-data.patch ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://tomas.styblo.name/wmctrl/;
|
homepage = https://sites.google.com/site/tstyblo/wmctrl;
|
||||||
description = "Command line tool to interact with an EWMH/NetWM compatible X Window Manager";
|
description = "CLI tool to interact with EWMH/NetWM compatible X Window Managers";
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
platforms = with stdenv.lib.platforms; all;
|
platforms = with stdenv.lib.platforms; all;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.Anton-Latukha ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user