Merge pull request #298800 from Qusic/slock

slock: add updateScript
This commit is contained in:
Nikolay Korotkiy 2024-04-19 08:17:43 +04:00 committed by GitHub
commit bc047f9a00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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";
@ -33,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
Simple X display locker. This is the simplest X screen locker.
'';
license = licenses.mit;
maintainers = with maintainers; [ astsmtl ];
maintainers = with maintainers; [ astsmtl qusic ];
platforms = platforms.linux;
};
})