Unverified Commit 65c93486 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

sayonara: 1.7.0-stable3 -> 1.10.0-stable1 (#285110)

parents f068d05e 2ca7d794
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -22,15 +22,21 @@ let
in
mkDerivation rec {
  pname = "sayonara";
  version = "1.7.0-stable3";
  version = "1.10.0-stable1";

  src = fetchFromGitLab {
    owner = "luciocarreras";
    repo = "sayonara-player";
    rev = version;
    hash = "sha256-tJ/8tGNkmTwWRCpPy/h85SP/6QDAgcaKWJdM5MSAXJw=";
    hash = "sha256-ZcuWe1dsLJS4/nLXSSKB7wzPU9COFyE4vPSwZIo0bgI=";
  };

  # error: no matching function for call to 'max'
  postPatch = ''
    substituteInPlace src/Components/Playlist/PlaylistModifiers.cpp \
      --replace-fail "std::max" "std::max<MilliSeconds>"
  '';

  nativeBuildInputs = [ cmake ninja pkg-config qttools ];

  buildInputs = [