diff --git a/pkgs/applications/window-managers/dwm/default.nix b/pkgs/applications/window-managers/dwm/default.nix new file mode 100644 index 00000000000..125428c449c --- /dev/null +++ b/pkgs/applications/window-managers/dwm/default.nix @@ -0,0 +1,17 @@ +args: with args; stdenv.mkDerivation { + name = "dwm-5.1"; + + src = fetchurl { + url = http://code.suckless.org/dl/dwm/dwm-5.1.tar.gz; + sha256 = "d8dca894c4805a845baca1c3f9b16299e1eaeab661fd3827b374e57b4c603bf8"; + }; + + buildInputs = [ libX11 libXinerama ]; + + buildPhase = " make "; + + meta = { homepage = "www.suckless.org"; + description = "dynamic window manager for X"; + license="MIT"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c5061d1c907..c854f51ffbb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5944,6 +5944,11 @@ let pkgs = rec { inherit (xlibs) libX11 libXinerama; }; + dwm = import ../applications/window-managers/dwm { + inherit fetchurl stdenv; + inherit (xlibs) libX11 libXinerama; + }; + # building eclipise from source # experimental tested on x86_64-linux only eclipse_classic_src = import ../applications/editors/eclipse/eclipse_classic.nix {