reflex-app: init at 2.0 (#521775)

This commit is contained in:
Sandro
2026-05-25 21:28:37 +00:00
committed by GitHub
+41
View File
@@ -0,0 +1,41 @@
{
lib,
stdenvNoCC,
fetchurl,
unzip,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "reflex-app";
version = "2.0";
src = fetchurl {
url = "https://stuntsoftware.com/download/reflex_${finalAttrs.version}.zip";
hash = "sha256-2CfNMs9zDFyFgrIAuh37bB3wPjDDrGsyyFY65n0CtIk=";
};
strictDeps = true;
__structuredAttrs = true;
nativeBuildInputs = [ unzip ];
sourceRoot = ".";
installPhase = ''
runHook preInstall
mkdir -p "$out/Applications"
cp -R Reflex.app "$out/Applications"
runHook postInstall
'';
meta = {
description = "Media key forwarder for Music and Spotify";
homepage = "https://stuntsoftware.com/reflex/";
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ iniw ];
platforms = lib.platforms.darwin;
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
};
})