Merge pull request #302093 from DontEatOreo/pkgs-hidden
hidden-bar: init at 1.9
This commit is contained in:
commit
c1d5b80a0c
1 changed files with 37 additions and 0 deletions
37
pkgs/by-name/hi/hidden-bar/package.nix
Normal file
37
pkgs/by-name/hi/hidden-bar/package.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchurl
|
||||
, undmg
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "hidden-bar";
|
||||
version = "1.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/dwarvesf/hidden/releases/download/v${version}/Hidden.Bar.${version}.dmg";
|
||||
hash = "sha256-P1SwJPXBxAvBiuvjkBRxAom0fhR+cVYfriKmYcqybQI=";
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/Applications
|
||||
mv "Hidden Bar.app" $out/Applications
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ undmg ];
|
||||
|
||||
meta = {
|
||||
description = "An ultra-light MacOS utility that helps hide menu bar icons";
|
||||
homepage = "https://github.com/dwarvesf/hidden";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ donteatoreo ];
|
||||
platforms = lib.platforms.darwin;
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue