supersonic: 0.7.0 -> 0.8.0

Also switch mpv to mpv-unwrapped, as mpv pulls in yt-dlp and other
unnecessary dependencies.
This commit is contained in:
Zane van Iperen 2023-11-16 21:31:49 +10:00
parent 54f00576aa
commit fe9acd9161
No known key found for this signature in database
GPG key ID: 68616B2D8AC4DCC5

View file

@ -11,7 +11,7 @@
, wayland-protocols , wayland-protocols
, libxkbcommon , libxkbcommon
, libglvnd , libglvnd
, mpv , mpv-unwrapped
, darwin , darwin
, waylandSupport ? false , waylandSupport ? false
}: }:
@ -20,16 +20,16 @@ assert waylandSupport -> stdenv.isLinux;
buildGoModule rec { buildGoModule rec {
pname = "supersonic" + lib.optionalString waylandSupport "-wayland"; pname = "supersonic" + lib.optionalString waylandSupport "-wayland";
version = "0.7.0"; version = "0.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dweymouth"; owner = "dweymouth";
repo = "supersonic"; repo = "supersonic";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-DVduZ1qPbcDlH+B5hibC2HUjwEUV+CpDDpMI8GdPwro"; hash = "sha256-rNM3kQrEkqLAW6Dia+VsEi9etUG218AL8tO0amWXb34=";
}; };
vendorHash = "sha256-Dj6I+gt0gB5HWTWdFXCV5UpLuvg+HhuygRJAdvV/Yp8"; vendorHash = "sha256-I4ZZmQfYTMtNT+3WCs6/g42uF4EKGSjGHCqG8Du5rCo=";
nativeBuildInputs = [ nativeBuildInputs = [
copyDesktopItems copyDesktopItems
@ -43,7 +43,7 @@ buildGoModule rec {
buildInputs = [ buildInputs = [
libglvnd libglvnd
mpv mpv-unwrapped
] ++ lib.optionals stdenv.isLinux [ ] ++ lib.optionals stdenv.isLinux [
xorg.libXxf86vm xorg.libXxf86vm
xorg.libX11 xorg.libX11