ae2dc6aea6
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
41 lines
901 B
Nix
41 lines
901 B
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
unzip,
|
|
fetchurl,
|
|
nix-update-script,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
pname = "ice-bar";
|
|
version = "0.11.9";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/jordanbaird/Ice/releases/download/${finalAttrs.version}/Ice.zip";
|
|
hash = "sha256-nC7gIF4OdkUYoacbyr1cv5xpJkWDqhFW11UNZvgrQtE=";
|
|
};
|
|
|
|
sourceRoot = ".";
|
|
|
|
nativeBuildInputs = [ unzip ];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p "$out/Applications"
|
|
cp -r *.app "$out/Applications"
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Powerful menu bar manager for macOS";
|
|
homepage = "https://icemenubar.app/";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ donteatoreo ];
|
|
platforms = lib.platforms.darwin;
|
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
|
};
|
|
})
|