Unverified Commit a1a0230b authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

Merge pull request #288569 from adamcstephens/waylock/0.6.5

waylock: 0.6.4 -> 0.6.5
parents a9e1ce0c 3e46618a
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
#!/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