Unverified Commit 1198058f authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

syshud: 0-unstable-2024-09-26 -> 0-unstable-2024-11-04 (#354422)

parents 316ec39f 51fc0761
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -14,18 +14,22 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "syshud";
  version = "0-unstable-2024-09-26";
  version = "0-unstable-2024-11-04";

  src = fetchFromGitHub {
    owner = "System64fumo";
    repo = "syshud";
    rev = "0b6e4958d8ea66b54bc67f0b5aa005fa3eaa4f6f";
    hash = "sha256-cyE7ZxesAmnepW7kI6b9Gp7R/v+yG2//EQAj4/X6c+c=";
    rev = "157b725a3f29d67f16c25fb3062b62ad6fec4e15";
    hash = "sha256-q04xYOdnnyUyiFc72Gzk65fWzQgYSOACPUXIk7kvIP8=";
  };

  postPatch = ''
    substituteInPlace Makefile \
      --replace-fail 'pkg-config' ''${PKG_CONFIG}
      --replace-fail pkg-config ''${PKG_CONFIG}
    substituteInPlace src/main.cpp \
      --replace-fail /usr/share/sys64/hud/config.conf $out/share/sys64/hud/config.conf
    substituteInPlace src/window.cpp \
      --replace-fail /usr/share/sys64/hud/style.css $out/share/sys64/hud/style.css
  '';

  nativeBuildInputs = [