Merge pull request #306923 from jopejoe1/alock/update/2.5.1
alock: unstable-2017-07-20 -> 2.5.1, add update script
This commit is contained in:
commit
e973935a91
@ -1,15 +1,15 @@
|
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
|
||||
{ lib, stdenv, fetchFromGitHub, gitUpdater, pkg-config, autoreconfHook
|
||||
, libX11, pam, libgcrypt, libXrender, imlib2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "alock";
|
||||
version = "unstable-2017-07-20";
|
||||
version = "2.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Arkq";
|
||||
repo = "alock";
|
||||
rev = "2035e1d4a2293432f5503e82d10f899232eb0f38";
|
||||
sha256 = "sha256-Rm00ytSfEv5Wljz4f/4bbyrK3sCV/oRUwz4DKx0pya8=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-xfPhsXZrTlEqea75SvacDfjM9o21MTudrqfNN9xtdcg=";
|
||||
};
|
||||
|
||||
PAM_DEFAULT_SERVICE = "login";
|
||||
@ -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