Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 libX11, 6 glib, 7 pkg-config, 8 libXmu, 9}: 10 11stdenv.mkDerivation rec { 12 13 pname = "wmctrl"; 14 version = "1.07"; 15 16 src = fetchurl { 17 # NOTE: 2019-04-11: There is also a semi-official mirror: http://tripie.sweb.cz/utils/wmctrl/ 18 url = "https://sites.google.com/site/tstyblo/wmctrl/${pname}-${version}.tar.gz"; 19 sha256 = "1afclc57b9017a73mfs9w7lbdvdipmf9q0xdk116f61gnvyix2np"; 20 }; 21 22 strictDeps = true; 23 depsBuildBuild = [ pkg-config ]; 24 nativeBuildInputs = [ glib.dev ]; 25 buildInputs = [ 26 libX11 27 libXmu 28 glib 29 ]; 30 31 patches = [ ./64-bit-data.patch ]; 32 33 meta = { 34 homepage = "https://sites.google.com/site/tstyblo/wmctrl"; 35 description = "CLI tool to interact with EWMH/NetWM compatible X Window Managers"; 36 license = lib.licenses.gpl2Plus; 37 platforms = with lib.platforms; all; 38 maintainers = [ lib.maintainers.Anton-Latukha ]; 39 mainProgram = "wmctrl"; 40 }; 41 42}