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
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "waylock";
|
pname = "waylock";
|
||||||
version = "0.6.4";
|
version = "0.6.5";
|
||||||
|
|
||||||
src = fetchFromGitea {
|
src = fetchFromGitea {
|
||||||
domain = "codeberg.org";
|
domain = "codeberg.org";
|
||||||
|
@ -20,7 +20,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
repo = "waylock";
|
repo = "waylock";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
hash = "sha256-RSAUSlsBB9IphvdSiFqJIvyhhJoAKKb+KyGhdoTa3vs=";
|
hash = "sha256-wvZrRPZobDh+rB3RSaRrz0xDHuYwT2eoQEu3AbYKn8Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -38,8 +38,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
zigBuildFlags = [ "-Dman-pages" ];
|
zigBuildFlags = [ "-Dman-pages" ];
|
||||||
|
|
||||||
|
passthru.updateScript = ./update.nu;
|
||||||
|
|
||||||
meta = {
|
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";
|
description = "A small screenlocker for Wayland compositors";
|
||||||
license = lib.licenses.isc;
|
license = lib.licenses.isc;
|
||||||
maintainers = with lib.maintainers; [ adamcstephens jordanisaacs ];
|
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 New Issue
Block a user