Unverified Commit f1fca8fc authored by Masum Reza's avatar Masum Reza Committed by GitHub
Browse files

hyprlock: 0.60 -> 0.6.1; hyprwayland-scanner: 0.4.2 -> 0.4.4 (#369277)

parents 2eeb3350 fa75c3e5
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
  hyprgraphics,
  hyprlang,
  hyprutils,
  hyprwayland-scanner,
  pam,
  sdbus-cpp_2,
  systemdLibs,
@@ -27,20 +28,19 @@

gcc14Stdenv.mkDerivation (finalAttrs: {
  pname = "hyprlock";
  version = "0.6.0";
  version = "0.6.1";

  src = fetchFromGitHub {
    owner = "hyprwm";
    repo = "hyprlock";
    rev = "v${finalAttrs.version}";
    hash = "sha256-41/fFxlGCf1q+WJwdzSidr9+xJ7+td91XQ1+kzrZ+ts=";
    hash = "sha256-lT6f/5NB73xj9cVesi2SNsL5jVciwZJp8QRohiv+3Hk=";
  };

  strictDeps = true;

  nativeBuildInputs = [
    cmake
    pkg-config
    hyprwayland-scanner
    wayland-scanner
  ];

+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  gcc14Stdenv,
  fetchFromGitHub,
  fetchpatch2,
  cmake,
  cairo,
  expat,
@@ -41,6 +42,15 @@ gcc14Stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-IRZ5NrKFwBVueYrZYUQfpTwp2rZHgAkPwgvdnfVBF8E=";
  };

  patches = [
    # FIXME: remove in next release
    (fetchpatch2 {
      name = "fix-hypr-wayland-scanner-0.4.4-build.patch";
      url = "https://github.com/hyprwm/hyprpaper/commit/505e447b6c48e6b49f3aecf5da276f3cc5780054.patch?full_index=1";
      hash = "sha256-Vk2P2O4XQiCYqV0KbK/ADe8KPmaTs3Mg7JRJ3cGW9lM=";
    })
  ];

  nativeBuildInputs = [
    cmake
    pkg-config
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch2,
  nix-update-script,
  pkg-config,
  cmake,
@@ -29,6 +30,15 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-gu26MSYbTlRLMUpZ9PeYXtqqhzPDQXxEDkjiJgwzIIc=";
  };

  patches = [
    # FIXME: remove in next release
    (fetchpatch2 {
      name = "fix-hypr-wayland-scanner-0.4.4-build.patch";
      url = "https://github.com/hyprwm/hyprpicker/commit/444c40e5e3dc4058a6a762ba5e73ada6d6469055.patch?full_index=1";
      hash = "sha256-tg+oCUHtQkOXDrUY1w1x8zWWO1v4YV8ZxQKuSWuX/AI=";
    })
  ];

  cmakeBuildType = if debug then "Debug" else "Release";

  nativeBuildInputs = [
+2 −2
Original line number Diff line number Diff line
@@ -9,13 +9,13 @@
}:
stdenv.mkDerivation (finalAttrs: {
  pname = "hyprwayland-scanner";
  version = "0.4.2";
  version = "0.4.4";

  src = fetchFromGitHub {
    owner = "hyprwm";
    repo = "hyprwayland-scanner";
    rev = "v${finalAttrs.version}";
    hash = "sha256-HIPEXyRRVZoqD6U+lFS1B0tsIU7p83FaB9m7KT/x6mQ=";
    hash = "sha256-fktzv4NaqKm94VAkAoVqO/nqQlw+X0/tJJNAeCSfzK4=";
  };

  nativeBuildInputs = [