feat(nix/darwin): HeliPort
Currently disabled because undmg doesn't handle EULAs REF: https://github.com/matthewbauer/undmg/issues/2
This commit is contained in:
parent
47a7a0156b
commit
744d9c902c
3 changed files with 56 additions and 15 deletions
35
.config/nix/overlays/darwin/heliport.nix
Normal file
35
.config/nix/overlays/darwin/heliport.nix
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# REF: https://github.com/bandithedoge/nixpkgs-firefox-darwin/blob/ceaca2359e5371ccef3f92a36baf7c438b354afb/overlay.nix
|
||||||
|
final: prev:
|
||||||
|
|
||||||
|
let
|
||||||
|
package = version:
|
||||||
|
final.stdenv.mkDerivation rec {
|
||||||
|
pname = "HeliPort";
|
||||||
|
inherit version;
|
||||||
|
|
||||||
|
src = final.fetchurl {
|
||||||
|
url = "https://github.com/OpenIntelWireless/HeliPort/releases/download/v${version}/HeliPort.dmg";
|
||||||
|
sha256 = "49cbe7abea742a3c662a836f14c05b79b3e6e6577c897b57101f5bd0a086eec8";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ final.undmg ];
|
||||||
|
|
||||||
|
sourceRoot = "HeliPort.app";
|
||||||
|
|
||||||
|
phases = [ "unpackPhase" "installPhase" ];
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/Applications
|
||||||
|
cp -R . "$out/Applications/HeliPort.app"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with final.lib; {
|
||||||
|
description = "Intel WiFi Client for itlwm";
|
||||||
|
homepage = "https://github.com/OpenIntelWireless/HeliPort";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
platforms = platforms.darwin;
|
||||||
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
heliport = package "1.5.0";
|
||||||
|
}
|
|
@ -12,34 +12,39 @@
|
||||||
pkgs.git
|
pkgs.git
|
||||||
pkgs.vim
|
pkgs.vim
|
||||||
pkgs.neovim
|
pkgs.neovim
|
||||||
pkgs.pass
|
|
||||||
pkgs.passExtensions.pass-otp
|
|
||||||
pkgs.gnupg
|
|
||||||
pkgs.htop-vim
|
pkgs.htop-vim
|
||||||
common.custom.python
|
pkgs.wget
|
||||||
common.custom.inkscape
|
|
||||||
#(pkgs.poetry.override { python3 = common.custom.python; })
|
|
||||||
pkgs.fastfetch
|
|
||||||
pkgs.eza
|
pkgs.eza
|
||||||
pkgs.wimlib
|
pkgs.coreutils-full
|
||||||
pkgs.google-cloud-sdk
|
pkgs.rclone
|
||||||
|
pkgs.fastfetch
|
||||||
|
pkgs.iterm2
|
||||||
pkgs.nmap
|
pkgs.nmap
|
||||||
pkgs.cargo
|
pkgs.cargo
|
||||||
pkgs.android-tools
|
pkgs.android-tools
|
||||||
pkgs.coreutils-full
|
|
||||||
pkgs.rclone
|
|
||||||
(pkgs.yt-dlp.override { withAlias = true; })
|
|
||||||
pkgs.duti
|
pkgs.duti
|
||||||
|
pkgs.undmg
|
||||||
|
|
||||||
|
pkgs.pass
|
||||||
|
pkgs.passExtensions.pass-otp
|
||||||
|
pkgs.gnupg
|
||||||
pkgs.pinentry_mac
|
pkgs.pinentry_mac
|
||||||
|
|
||||||
|
common.custom.python
|
||||||
|
#(pkgs.poetry.override { python3 = common.custom.python; })
|
||||||
|
pkgs.wimlib
|
||||||
|
pkgs.google-cloud-sdk
|
||||||
|
(pkgs.yt-dlp.override { withAlias = true; })
|
||||||
|
|
||||||
pkgs.iina
|
pkgs.iina
|
||||||
pkgs.floorp-bin
|
pkgs.floorp-bin
|
||||||
|
common.custom.inkscape
|
||||||
pkgs.casks.zotero
|
pkgs.casks.zotero
|
||||||
|
# pkgs.casks.lulu # Doesn't work, it needs to be installed on /Applications/
|
||||||
|
# pkgs.heliport # FIXME: https://github.com/matthewbauer/undmg/issues/2
|
||||||
|
|
||||||
pkgs.lf
|
pkgs.lf
|
||||||
pkgs.yazi # lf replacement, need further testing
|
pkgs.yazi # lf replacement, need further testing
|
||||||
|
|
||||||
pkgs.iterm2
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Auto upgrade nix package and the daemon service.
|
# Auto upgrade nix package and the daemon service.
|
||||||
|
|
|
@ -25,6 +25,7 @@ in
|
||||||
inherit system brew-api;
|
inherit system brew-api;
|
||||||
nixpkgs = nixpkgs-stable;
|
nixpkgs = nixpkgs-stable;
|
||||||
})
|
})
|
||||||
|
(import ../../overlays/darwin/heliport.nix)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
) pkgs pkgs-unstable;
|
) pkgs pkgs-unstable;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue