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";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue