Commit 3e64451f authored by Xiangyan Sun's avatar Xiangyan Sun
Browse files

sayonara: 1.10.0-stable1 -> 1.11.0-stable1

parent db985dfa
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -24,21 +24,15 @@ let
in
stdenv.mkDerivation (finalAttrs: {
  pname = "sayonara";
  version = "1.10.0-stable1";
  version = "1.11.0-stable1";

  src = fetchFromGitLab {
    owner = "luciocarreras";
    repo = "sayonara-player";
    tag = finalAttrs.version;
    hash = "sha256-ZcuWe1dsLJS4/nLXSSKB7wzPU9COFyE4vPSwZIo0bgI=";
    hash = "sha256-MvL5czJkvHNQkuoPtGq+q7fkJIX75IXmQCWmpgisqNI=";
  };

  # 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