mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
Merge pull request #182352 from ylh/patch-p9p-darwin-bikeshedding
plan9port: update darwin inputs
This commit is contained in:
commit
4393f39da9
|
@ -14082,6 +14082,12 @@
|
|||
githubId = 5978566;
|
||||
name = "Yves-Stan Le Cornec";
|
||||
};
|
||||
ylh = {
|
||||
email = "nixpkgs@ylh.io";
|
||||
github = "ylh";
|
||||
githubId = 9125590;
|
||||
name = "Yestin L. Harrison";
|
||||
};
|
||||
ylwghst = {
|
||||
email = "ylwghst@onionmail.info";
|
||||
github = "ylwghst";
|
||||
|
|
|
@ -1,24 +1,17 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, darwin ? null
|
||||
, fontconfig ? null
|
||||
, freetype ? null
|
||||
, libX11
|
||||
, libXext ? null
|
||||
, libXt ? null
|
||||
, perl ? null # For building web manuals
|
||||
{ lib, stdenv, fetchFromGitHub
|
||||
, fontconfig, freetype, libX11, libXext, libXt, xorgproto
|
||||
, Carbon, Cocoa, IOKit, Metal, QuartzCore, DarwinTools
|
||||
, perl # For building web manuals
|
||||
, which
|
||||
, xorgproto ? null
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "plan9port";
|
||||
version = "2021-10-19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
src = fetchFromGitHub {
|
||||
owner = "9fans";
|
||||
repo = "plan9port";
|
||||
repo = pname;
|
||||
rev = "d0d440860f2000a1560abb3f593cdc325fcead4c";
|
||||
hash = "sha256-2aYXqPGwrReyFPrLDtEjgQd/RJjpOfI3ge/tDocYpRQ=";
|
||||
};
|
||||
|
@ -44,22 +37,20 @@ stdenv.mkDerivation {
|
|||
--replace "case Kcmd+'v':" "case 0x16: case Kcmd+'v':"
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
perl
|
||||
] ++ lib.optionals (!stdenv.isDarwin) [
|
||||
buildInputs = [ perl ] ++ (if !stdenv.isDarwin then [
|
||||
fontconfig
|
||||
freetype # fontsrv wants ft2build.h provides system fonts for acme and sam
|
||||
freetype # fontsrv wants ft2build.h
|
||||
libX11
|
||||
libXext
|
||||
libXt
|
||||
xorgproto
|
||||
] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
] else [
|
||||
Carbon
|
||||
Cocoa
|
||||
IOKit
|
||||
Metal
|
||||
QuartzCore
|
||||
darwin.DarwinTools
|
||||
DarwinTools
|
||||
]);
|
||||
|
||||
builder = ./builder.sh;
|
||||
|
@ -100,6 +91,7 @@ stdenv.mkDerivation {
|
|||
ehmry
|
||||
ftrvxmtrx
|
||||
kovirobi
|
||||
ylh
|
||||
];
|
||||
mainProgram = "9";
|
||||
platforms = platforms.unix;
|
||||
|
|
|
@ -9703,7 +9703,10 @@ with pkgs;
|
|||
|
||||
plantuml-server = callPackage ../tools/misc/plantuml-server { };
|
||||
|
||||
plan9port = callPackage ../tools/system/plan9port { };
|
||||
plan9port = callPackage ../tools/system/plan9port {
|
||||
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa IOKit Metal QuartzCore;
|
||||
inherit (darwin) DarwinTools;
|
||||
};
|
||||
|
||||
platformioPackages = dontRecurseIntoAttrs (callPackage ../development/embedded/platformio { });
|
||||
platformio = platformioPackages.platformio-chrootenv;
|
||||
|
|
Loading…
Reference in a new issue