mirror of
https://github.com/eRgo35/dwm.git
synced 2025-12-15 21:36:10 +01:00
22 lines
503 B
Nix
22 lines
503 B
Nix
{ stdenv, fetchurl, libX11, libXft, libXinerama }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "dwm-HEAD";
|
|
|
|
src = builtins.filterSource
|
|
(path: type: (toString path) != (toString ./.git)) ./.;
|
|
|
|
buildInputs = [ libX11 libXft libXinerama ];
|
|
|
|
prePatch = ''
|
|
substituteInPlace config.mk --replace '/usr/local' $out
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Dynamic window manager for X";
|
|
homepage = http://dwm.suckless.org/;
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|