mpv-uosc-latest: warn once next release hits nixpkgs

This commit is contained in:
Colin 2023-07-28 00:55:37 +00:00
parent 6572557b5b
commit 49e33d7238

View File

@ -1,6 +1,7 @@
{ mpvScripts { lib
, fetchFromGitHub , fetchFromGitHub
, fetchFromGitea , fetchFromGitea
, mpvScripts
}: }:
mpvScripts.uosc.overrideAttrs (upstream: { mpvScripts.uosc.overrideAttrs (upstream: {
version = "unstable-2023-07-26"; version = "unstable-2023-07-26";
@ -10,7 +11,7 @@ mpvScripts.uosc.overrideAttrs (upstream: {
# rev = "e783ad1f133e06a50d424291143d25497fbecfdd"; # rev = "e783ad1f133e06a50d424291143d25497fbecfdd";
# hash = "sha256-FFl51Kv5eMNyB4LM4JmjJXDnd/XvvtXZbHsRpSkSGqE="; # hash = "sha256-FFl51Kv5eMNyB4LM4JmjJXDnd/XvvtXZbHsRpSkSGqE=";
# }; # };
src = fetchFromGitea { src = lib.warnIf (upstream.version != "4.7.0") "mpv-uosc-latest is behind nixpkgs mpvScripts.uosc ${upstream.version}" fetchFromGitea {
domain = "git.uninsane.org"; domain = "git.uninsane.org";
owner = "colin"; owner = "colin";
repo = "uosc"; repo = "uosc";