23 lines
285 B
Nix
23 lines
285 B
Nix
{ stdenv
|
|
, lib
|
|
, pkgs
|
|
, libX11
|
|
, libXinerama
|
|
, libXft
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dwm";
|
|
version = "6.5";
|
|
|
|
src = ./dwm;
|
|
|
|
buildInputs = [ libX11 libXinerama libXft ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp dwm $out/bin
|
|
cp dwm-setstatus $out/bin
|
|
'';
|
|
}
|