commit
bc047f9a00
@ -2,7 +2,10 @@
|
|||||||
, xorgproto, libX11, libXext, libXrandr, libxcrypt
|
, xorgproto, libX11, libXext, libXrandr, libxcrypt
|
||||||
# default header can be obtained from
|
# default header can be obtained from
|
||||||
# https://git.suckless.org/slock/tree/config.def.h
|
# https://git.suckless.org/slock/tree/config.def.h
|
||||||
, conf ? null }:
|
, conf ? null
|
||||||
|
# update script dependencies
|
||||||
|
, gitUpdater
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "slock";
|
pname = "slock";
|
||||||
@ -25,6 +28,10 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
makeFlags = [ "CC:=$(CC)" ];
|
makeFlags = [ "CC:=$(CC)" ];
|
||||||
|
|
||||||
|
passthru.updateScript = gitUpdater {
|
||||||
|
url = "git://git.suckless.org/slock";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://tools.suckless.org/slock";
|
homepage = "https://tools.suckless.org/slock";
|
||||||
description = "Simple X display locker";
|
description = "Simple X display locker";
|
||||||
@ -33,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
Simple X display locker. This is the simplest X screen locker.
|
Simple X display locker. This is the simplest X screen locker.
|
||||||
'';
|
'';
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ astsmtl ];
|
maintainers = with maintainers; [ astsmtl qusic ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user