35 lines
1.1 KiB
Nix
35 lines
1.1 KiB
Nix
# 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 = ".";
|
|
|
|
phases = [ "unpackPhase" "installPhase" ];
|
|
installPhase = ''
|
|
mkdir -p $out/Applications
|
|
cp -R HeliPort.app "$out/Applications/"
|
|
'';
|
|
|
|
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";
|
|
}
|