-
- with import <nixpkgs> {};
-
- let
- name = "dwm-6.1";
- in
- stdenv.mkDerivation {
- inherit name;
-
- src = /home/blob/dwm.tar.gz;
-
- buildInputs = [ libX11 libXinerama libXft ];
-
- prePatch = ''sed -i "s@/usr/local@$out@" config.mk'';
-
- # Allow users set their own list of patches
- # inherit patches;
-
- buildPhase = " make ";
-
- meta = {
- homepage = https://suckless.org/;
- description = "Dynamic window manager for X";
- license = stdenv.lib.licenses.mit;
- maintainers = with stdenv.lib.maintainers; [viric];
- platforms = with stdenv.lib.platforms; all;
- };
- }
-