Unverified Commit 7f0f4c5d authored by Bobby Rong's avatar Bobby Rong Committed by GitHub
Browse files

pantheon.elementary-monitor: 8.0.0 -> 8.0.1 (#465688)

parents 9e71f664 a9e82192
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -29,13 +29,13 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "elementary-monitor";
  version = "8.0.0";
  version = "8.0.1";

  src = fetchFromGitHub {
    owner = "elementary";
    repo = "monitor";
    tag = finalAttrs.version;
    hash = "sha256-pFyDC22YzThHPElBt/JjFP1A8hoCw9QoIjS2Re8Se9w=";
    hash = "sha256-VlyIK7UJEHw7vvc9WEHooPSPl8OQ5ZcBrjtYrI3Qx/w=";
  };

  strictDeps = true;
@@ -70,14 +70,6 @@ stdenv.mkDerivation (finalAttrs: {

  mesonFlags = [ "-Dindicator-wingpanel=enabled" ];

  postPatch = ''
    # Fix build with Vala 0.56.18
    # https://github.com/elementary/monitor/issues/444
    for i in $(find src/Resources -type f -name "*.vala"); do
      substituteInPlace $i --replace-warn "[Compact]" ""
    done
  '';

  passthru = {
    updateScript = nix-update-script { };
  };