spacepaste

  1.  
  2. with import <nixpkgs> {};
  3. let
  4. name = "dwm-6.1";
  5. in
  6. stdenv.mkDerivation {
  7. inherit name;
  8. src = /home/blob/dwm.tar.gz;
  9. buildInputs = [ libX11 libXinerama libXft ];
  10. prePatch = ''sed -i "s@/usr/local@$out@" config.mk'';
  11. # Allow users set their own list of patches
  12. # inherit patches;
  13. buildPhase = " make ";
  14. meta = {
  15. homepage = https://suckless.org/;
  16. description = "Dynamic window manager for X";
  17. license = stdenv.lib.licenses.mit;
  18. maintainers = with stdenv.lib.maintainers; [viric];
  19. platforms = with stdenv.lib.platforms; all;
  20. };
  21. }
  22.