mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
libtapi: add homepage and description, use pname
This commit is contained in:
parent
5f4c238ea5
commit
16357a697f
@ -1,7 +1,9 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, cmake, python3, ncurses }:
|
{ lib, stdenv, fetchFromGitHub, cmake, python3, ncurses }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "libtapi-1000.10.8";
|
pname = "libtapi";
|
||||||
|
version = "1000.10.8"; # determined by looking at VERSION.txt
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tpoechtrager";
|
owner = "tpoechtrager";
|
||||||
repo = "apple-libtapi";
|
repo = "apple-libtapi";
|
||||||
@ -33,11 +35,13 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
installTargets = [ "install-libtapi" "install-tapi-headers" ];
|
installTargets = [ "install-libtapi" "install-tapi-headers" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||||
install_name_tool -id $out/lib/libtapi.dylib $out/lib/libtapi.dylib
|
install_name_tool -id $out/lib/libtapi.dylib $out/lib/libtapi.dylib
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
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;
|
license = licenses.apsl20;
|
||||||
maintainers = with maintainers; [ matthewbauer ];
|
maintainers = with maintainers; [ matthewbauer ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user