slock: add updateScript
This commit is contained in:
parent
9078780158
commit
50063d79d5
@ -2,7 +2,10 @@
|
||||
, xorgproto, libX11, libXext, libXrandr, libxcrypt
|
||||
# default header can be obtained from
|
||||
# https://git.suckless.org/slock/tree/config.def.h
|
||||
, conf ? null }:
|
||||
, conf ? null
|
||||
# update script dependencies
|
||||
, gitUpdater
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "slock";
|
||||
@ -25,6 +28,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
makeFlags = [ "CC:=$(CC)" ];
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
url = "git://git.suckless.org/slock";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://tools.suckless.org/slock";
|
||||
description = "Simple X display locker";
|
||||
|
Loading…
Reference in New Issue
Block a user