Commit cc8f9920 authored by PedroHLC ☭'s avatar PedroHLC ☭ Committed by github-actions[bot]
Browse files

swaylock: 1.6 -> 1.7

(cherry picked from commit 19b3fa0a)
parent 525d803f
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
@@ -5,24 +5,15 @@

stdenv.mkDerivation rec {
  pname = "swaylock";
  version = "1.6";
  version = "1.7";

  src = fetchFromGitHub {
    owner = "swaywm";
    repo = "swaylock";
    rev = version;
    sha256 = "sha256-VVGgidmSQWKxZNx9Cd6z52apxpxVfmX3Ut/G9kzfDcY=";
    hash = "sha256-xbcVsnE0DecC+g49NOBNpqPl5JTtuxUUc7KinKhi5TE=";
  };

  patches = [
    # remove once when updating to 1.7
    # https://github.com/swaywm/swaylock/pull/235
    (fetchpatch {
      url = "https://github.com/swaywm/swaylock/commit/5a1e6ad79aa7d79b32d36cda39400f3e889b8f8f.diff";
      sha256 = "sha256-ZcZVImUzvng7sluC6q2B5UL8sVunLe4PIfc+tyw48RQ=";
    })
  ];

  strictDeps = true;
  depsBuildBuild = [ pkg-config ];
  nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-scanner ];