Skip to content

Commit

Permalink
waylock: 0.4.2 -> 0.6.0 (NixOS#209867)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanisaacs authored and adamcstephens committed Jan 25, 2023
1 parent 3182262 commit 4c8e43f
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions pkgs/applications/misc/waylock/default.nix
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
{
lib,
stdenv,
fetchFromGitHub,
zig,
wayland,
pkg-config,
scdoc,
wayland-protocols,
libxkbcommon,
pam,
{ lib
, stdenv
, fetchFromGitHub
, zig
, wayland
, pkg-config
, scdoc
, wayland-protocols
, libxkbcommon
, pam
}:
stdenv.mkDerivation rec {
pname = "waylock";
version = "0.4.2";
version = "0.6.0";

src = fetchFromGitHub {
owner = "ifreund";
repo = pname;
rev = "v${version}";
sha256 = "sha256-yWjWcnGa4a+Dpc82H65yr8H7v88g/tDq0FSguubhbEI=";
hash = "sha256-AujBvDy10e5HhezCQcXpBUVlktRKNseLxRKdI+gtH6w=";
fetchSubmodules = true;
};

nativeBuildInputs = [zig wayland scdoc pkg-config];
nativeBuildInputs = [ zig wayland scdoc pkg-config ];

buildInputs = [
wayland-protocols
Expand All @@ -38,7 +37,7 @@ stdenv.mkDerivation rec {

installPhase = ''
runHook preInstall
zig build -Drelease-safe -Dman-pages --prefix $out install
zig build -Drelease-safe -Dman-pages -Dcpu=baseline --prefix $out install
runHook postInstall
'';

Expand All @@ -47,6 +46,6 @@ stdenv.mkDerivation rec {
description = "A small screenlocker for Wayland compositors";
license = licenses.isc;
platforms = platforms.linux;
maintainers = with maintainers; [jordanisaacs];
maintainers = with maintainers; [ jordanisaacs ];
};
}

0 comments on commit 4c8e43f

Please sign in to comment.