2015-11-11 08:09:45 -08:00
|
|
|
{stdenv, fetchurl, libX11, libXinerama, libXft, patches ? []}:
|
2010-03-05 13:49:29 -08:00
|
|
|
|
2013-04-04 14:32:53 -07:00
|
|
|
let
|
2019-02-07 02:40:16 -08:00
|
|
|
name = "dwm-6.2";
|
2013-04-04 14:32:53 -07:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit name;
|
2019-02-03 07:30:10 -08:00
|
|
|
|
2008-08-21 13:44:08 -07:00
|
|
|
src = fetchurl {
|
2018-04-11 06:09:51 -07:00
|
|
|
url = "https://dl.suckless.org/dwm/${name}.tar.gz";
|
2019-02-07 02:40:16 -08:00
|
|
|
sha256 = "03hirnj8saxnsfqiszwl2ds7p0avg20izv9vdqyambks00p2x44p";
|
2008-08-21 13:44:08 -07:00
|
|
|
};
|
2019-02-03 07:30:10 -08:00
|
|
|
|
2015-11-11 08:09:45 -08:00
|
|
|
buildInputs = [ libX11 libXinerama libXft ];
|
2019-02-03 07:30:10 -08:00
|
|
|
|
2010-03-05 14:13:58 -08:00
|
|
|
prePatch = ''sed -i "s@/usr/local@$out@" config.mk'';
|
2010-03-05 13:49:29 -08:00
|
|
|
|
|
|
|
# Allow users set their own list of patches
|
2014-01-02 02:53:25 -08:00
|
|
|
inherit patches;
|
2010-03-05 13:49:29 -08:00
|
|
|
|
2008-08-21 13:44:08 -07:00
|
|
|
buildPhase = " make ";
|
2019-02-03 07:30:10 -08:00
|
|
|
|
2010-03-05 13:49:29 -08:00
|
|
|
meta = {
|
2018-01-05 11:42:46 -08:00
|
|
|
homepage = https://suckless.org/;
|
2012-01-04 14:05:26 -08:00
|
|
|
description = "Dynamic window manager for X";
|
2014-06-18 21:19:00 -07:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2010-03-05 13:49:29 -08:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; all;
|
|
|
|
};
|
2008-08-21 13:44:08 -07:00
|
|
|
}
|