mos: 3.4.1 -> 3.5.0

This commit is contained in:
ZHAO Jin-Xiang 2025-05-18 00:53:09 +08:00 committed by Lin Jian
parent b2dd515359
commit 94a74b3f88

View file

@ -3,14 +3,15 @@
stdenvNoCC,
fetchurl,
undmg,
nix-update-script,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "mos";
version = "3.4.1";
version = "3.5.0";
src = fetchurl {
url = "https://github.com/Caldis/Mos/releases/download/${finalAttrs.version}/Mos.Versions.${finalAttrs.version}.dmg";
hash = "sha256-OOoz6GeBVQZBQyNIQUe4grbZffSvl1m8oKZNmMlQKbM=";
hash = "sha256-o2H4cfMudjoQHfKeV4ORiO9/szoomFP0IP6D6ecMAI4=";
};
sourceRoot = ".";
@ -25,12 +26,14 @@ stdenvNoCC.mkDerivation (finalAttrs: {
runHook postInstall
'';
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Smooths scrolling and set mouse scroll directions independently";
description = "Smooths scrolling and set mouse scroll directions independently on macOS";
homepage = "https://mos.caldis.me/";
changelog = "https://github.com/Caldis/Mos/releases/tag/${finalAttrs.version}";
license = licenses.cc-by-nc-40;
maintainers = [ ];
maintainers = with lib.maintainers; [ xiaoxiangmoe ];
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
platforms = platforms.darwin;
};