Skip to content
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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5f4c238ea5e1
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 16357a697fac
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 29, 2020

  1. libtapi: add homepage and description, use pname

    Jonathan Ringer committed Oct 29, 2020
    Copy the full SHA
    16357a6 View commit details
Showing with 7 additions and 3 deletions.
  1. +7 −3 pkgs/os-specific/darwin/libtapi/default.nix
10 changes: 7 additions & 3 deletions pkgs/os-specific/darwin/libtapi/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{ lib, stdenv, fetchFromGitHub, cmake, python3, ncurses }:

stdenv.mkDerivation {
name = "libtapi-1000.10.8";
stdenv.mkDerivation rec {
pname = "libtapi";
version = "1000.10.8"; # determined by looking at VERSION.txt

src = fetchFromGitHub {
owner = "tpoechtrager";
repo = "apple-libtapi";
@@ -33,11 +35,13 @@ stdenv.mkDerivation {

installTargets = [ "install-libtapi" "install-tapi-headers" ];

postInstall = ''
postInstall = lib.optionalString stdenv.isDarwin ''
install_name_tool -id $out/lib/libtapi.dylib $out/lib/libtapi.dylib
'';

meta = with lib; {
description = "Replaces the Mach-O Dynamic Library Stub files in Apple's SDKs to reduce the size";
homepage = "https://github.com/tpoechtrager/apple-libtapi";
license = licenses.apsl20;
maintainers = with maintainers; [ matthewbauer ];
};