waylock: 0.6.4 -> 0.6.5
Changelog: https://codeberg.org/ifreund/waylock/releases/tag/v0.6.5
This commit is contained in:
parent
4506997399
commit
3e46618ac6
2 changed files with 11 additions and 3 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "waylock";
|
||||
version = "0.6.4";
|
||||
version = "0.6.5";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
|
@ -20,7 +20,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
repo = "waylock";
|
||||
rev = "v${finalAttrs.version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-RSAUSlsBB9IphvdSiFqJIvyhhJoAKKb+KyGhdoTa3vs=";
|
||||
hash = "sha256-wvZrRPZobDh+rB3RSaRrz0xDHuYwT2eoQEu3AbYKn8Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -38,8 +38,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
zigBuildFlags = [ "-Dman-pages" ];
|
||||
|
||||
passthru.updateScript = ./update.nu;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/ifreund/waylock";
|
||||
homepage = "https://codeberg.org/ifreund/waylock";
|
||||
changelog = "https://codeberg.org/ifreund/waylock/releases/tag/v${finalAttrs.version}";
|
||||
description = "A small screenlocker for Wayland compositors";
|
||||
license = lib.licenses.isc;
|
||||
maintainers = with lib.maintainers; [ adamcstephens jordanisaacs ];
|
||||
|
|
5
pkgs/applications/misc/waylock/update.nu
Executable file
5
pkgs/applications/misc/waylock/update.nu
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i nu -p nushell common-updater-scripts
|
||||
|
||||
let latest_tag = list-git-tags --url=https://codeberg.org/ifreund/waylock | lines | sort --natural | str replace v '' | last
|
||||
update-source-version waylock $latest_tag
|
Loading…
Reference in a new issue