alock: add update script
This commit is contained in:
parent
3bcba25270
commit
d80c38e753
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
|
||||
{ lib, stdenv, fetchFromGitHub, gitUpdater, pkg-config, autoreconfHook
|
||||
, libX11, pam, libgcrypt, libXrender, imlib2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -27,6 +27,11 @@ stdenv.mkDerivation rec {
|
||||
pam libgcrypt libXrender imlib2
|
||||
];
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
rev-prefix = "v";
|
||||
ignoredVersions = "^[^.]+$"; # ignore versions without a dot
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Arkq/alock";
|
||||
description = "Simple screen lock application for X server";
|
||||
|
Loading…
Reference in New Issue
Block a user