1 { lib, stdenv, fetchurl, libX11 }:
3 stdenv.mkDerivation rec {
8 url = "https://dl.suckless.org/tools/wmname-${version}.tar.gz";
9 sha256 = "559ad188b2913167dcbb37ecfbb7ed474a7ec4bbcb0129d8d5d08cb9208d02c5";
13 substituteInPlace Makefile --replace "@strip" "#@strip"
16 buildInputs = [ libX11 ];
18 makeFlags = [ "CC:=$(CC)" ];
20 installFlags = [ "PREFIX=$(out)" ];
23 description = "Prints or set the window manager name property of the root window";
24 homepage = "https://tools.suckless.org/wmname";
25 license = lib.licenses.mit;
26 platforms = lib.platforms.unix;
27 mainProgram = "wmname";