Unverified Commit bc047f9a authored by Nikolay Korotkiy's avatar Nikolay Korotkiy Committed by GitHub
Browse files

Merge pull request #298800 from Qusic/slock

slock: add updateScript
parents 91fc0f79 399c65ac
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -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;
  };
})