Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3aa937505b31
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4833d90e96d4
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Apr 4, 2018

  1. ngrok: enable darwin build

    (cherry picked from commit 592ce9d)
    periklis authored and LnL7 committed Apr 4, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    LnL7 Daiderd Jordan
    Copy the full SHA
    a835759 View commit details
  2. darwin-frameworks: cleanup

    (cherry picked from commit 9f516c2)
    LnL7 committed Apr 4, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    LnL7 Daiderd Jordan
    Copy the full SHA
    4833d90 View commit details
Showing with 12 additions and 10 deletions.
  1. +0 −5 pkgs/os-specific/darwin/apple-sdk/frameworks.nix
  2. +12 −5 pkgs/tools/networking/ngrok-2/default.nix
5 changes: 0 additions & 5 deletions pkgs/os-specific/darwin/apple-sdk/frameworks.nix
Original file line number Diff line number Diff line change
@@ -14,7 +14,6 @@ with frameworks; with libs; {
AppKitScripting = [];
AppleScriptKit = [];
AppleScriptObjC = [];
AppleShareClientCore = [ CoreServices ];
AudioToolbox = [ AudioUnit CoreAudio CF CoreMIDI ];
AudioUnit = [ Carbon CoreAudio CF ];
AudioVideoBridging = [ Foundation ];
@@ -84,12 +83,10 @@ with frameworks; with libs; {
PCSC = [ CoreData ];
PreferencePanes = [];
PubSub = [];
Python = [ ApplicationServices ];
QTKit = [ CoreMediaIO CoreMedia MediaToolbox QuickTime VideoToolbox ];
QuickLook = [ ApplicationServices CF ];
QuickTime = [ ApplicationServices AudioUnit Carbon CoreAudio CoreServices OpenGL QuartzCore ];
Ruby = [];
RubyCocoa = [];
SceneKit = [];
ScreenSaver = [];
Scripting = [];
@@ -105,11 +102,9 @@ with frameworks; with libs; {
SystemConfiguration = [ CF Security ];
TWAIN = [ Carbon ];
Tcl = [];
Tk = [ ApplicationServices Carbon X11 ];
VideoDecodeAcceleration = [ CF CoreVideo ];
VideoToolbox = [ CF CoreMedia CoreVideo ];
WebKit = [ ApplicationServices Carbon JavaScriptCore OpenGL ];
X11 = []; # used by Tk, should this exist?

# Umbrellas
Accelerate = [ CoreWLAN IOBluetooth ];
17 changes: 12 additions & 5 deletions pkgs/tools/networking/ngrok-2/default.nix
Original file line number Diff line number Diff line change
@@ -1,31 +1,38 @@
{ stdenv, fetchurl, unzip }:

with stdenv.lib;

stdenv.mkDerivation rec {
name = "ngrok-${version}";
version = "2.2.8";

src = if stdenv.system == "i686-linux" then fetchurl {
src = if stdenv.isLinux && stdenv.isi686 then fetchurl {
url = "https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-i386.tgz";
sha256 = "0s5ymlaxrvm13q3mlvfirh74sx60qh56c5sgdma2r7q5qlsq41xg";
} else if stdenv.system == "x86_64-linux" then fetchurl {
} else if stdenv.isLinux && stdenv.isx86_64 then fetchurl {
url = "https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.tgz";
sha256 = "1mn9iwgy6xzrjihikwc2k2j59igqmph0cwx17qp0ziap9lp5xxad";
} else if stdenv.isDarwin then fetchurl {
url = "https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-darwin-386.zip";
sha256 = "0yfd250b55wcpgqd00rqfaa7a82f35fmybb31q5xwdbgc2i47pbh";
} else throw "platform ${stdenv.system} not supported!";

sourceRoot = ".";

nativeBuildInputs = optional stdenv.isDarwin unzip;

installPhase = ''
install -D ngrok $out/bin/ngrok
'';

meta = with stdenv.lib; {
meta = {
description = "ngrok";
longDescription = ''
Allows you to expose a web server running on your local machine to the internet.
'';
homepage = https://ngrok.com/;
license = stdenv.lib.licenses.unfree;
platforms = [ "i686-linux" "x86_64-linux" ];
license = licenses.unfree;
platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ];
maintainers = [ maintainers.bobvanderlinden ];
};
}