Commit 3e426221 authored by Qusic's avatar Qusic
Browse files

dwm: add updateScript

parent 44d0940e
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
{ lib, stdenv, fetchurl, libX11, libXinerama, libXft, writeText, patches ? [ ], conf ? null}:
{ lib, stdenv, fetchurl, libX11, libXinerama, libXft, writeText, patches ? [ ], conf ? null
# update script dependencies
, gitUpdater
}:

stdenv.mkDerivation rec {
  pname = "dwm";
@@ -29,6 +32,10 @@ stdenv.mkDerivation rec {

  makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];

  passthru.updateScript = gitUpdater {
    url = "git://git.suckless.org/dwm";
  };

  meta = with lib; {
    homepage = "https://dwm.suckless.org/";
    description = "An extremely fast, small, and dynamic window manager for X";