mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 19:43:30 +00:00
c91d3b9499
Changelog: https://github.com/jordanbaird/Ice/releases/tag/0.11.12 Diff: https://github.com/jordanbaird/Ice/compare/0.11.11...0.11.12
42 lines
902 B
Nix
42 lines
902 B
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
unzip,
|
|
fetchurl,
|
|
nix-update-script,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
pname = "ice-bar";
|
|
version = "0.11.12";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/jordanbaird/Ice/releases/download/${finalAttrs.version}/Ice.zip";
|
|
hash = "sha256-13DoFZdWbdLSNj/rNQ+AjHqS42PflcUeSBQOsw5FLMk=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
})
|