Unverified Commit 7dae9f3b authored by PedroHLC ☭'s avatar PedroHLC ☭
Browse files

swaynotificationcenter: 0.6.3 -> 0.7.1

parent 3dc04b3a
Loading
Loading
Loading
Loading
+7 −11
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@
, meson
, ninja
, pkg-config
, python3
, scdoc
, vala
, xvfb-run
@@ -25,13 +26,13 @@

stdenv.mkDerivation (finalAttrs: rec {
  pname = "SwayNotificationCenter";
  version = "0.6.3";
  version = "0.7.1";

  src = fetchFromGitHub {
    owner = "ErikReider";
    repo = "SwayNotificationCenter";
    rev = "v${version}";
    hash = "sha256-79Kda2Mi2r38f0J12bRm9wbHiZCy9+ojPDxwlFG8EYw=";
    hash = "sha256-/rLzdli+/YTfk+jQ+RhHUEzeORVnJU4KHDlOG3QCPr0=";
  };

  nativeBuildInputs = [
@@ -43,6 +44,7 @@ stdenv.mkDerivation (finalAttrs: rec {
    meson
    ninja
    pkg-config
    python3
    scdoc
    vala
    wrapGAppsHook
@@ -61,15 +63,9 @@ stdenv.mkDerivation (finalAttrs: rec {
    # systemd # ends with broken permission
  ];

  # Fix-Me: Broken in 0.6.3, but fixed on master. Enable on next release. Requires python3 in nativeBuildInputs.
  # postPatch = ''
  #   chmod +x build-aux/meson/postinstall.py
  #   patchShebangs build-aux/meson/postinstall.py
  # '';

  # Remove past 0.6.3
  postInstall = ''
    glib-compile-schemas "$out"/share/glib-2.0/schemas
  postPatch = ''
    chmod +x build-aux/meson/postinstall.py
    patchShebangs build-aux/meson/postinstall.py
  '';

  passthru.tests.version = testers.testVersion {