Merge staging-next into staging
This commit is contained in:
@@ -13,9 +13,7 @@
|
||||
, lua53Packages
|
||||
, perlPackages
|
||||
, gtk3
|
||||
, Carbon
|
||||
, Cocoa
|
||||
, IOKit
|
||||
, apple-sdk_11
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -36,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
++ (with lua53Packages; [ lua busted ])
|
||||
++ (with perlPackages; [ perl TemplateToolkit ])
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [ gtk3 ]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ Carbon Cocoa IOKit ];
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ];
|
||||
|
||||
makeFlags = [
|
||||
"prefix=${placeholder "out"}"
|
||||
@@ -44,6 +42,10 @@ stdenv.mkDerivation rec {
|
||||
"CXXSTD=-std=c++20"
|
||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "-f Makefile.osx" ];
|
||||
|
||||
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
|
||||
NIX_LDFLAGS = "-liconv";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags = [
|
||||
"--enable-iconv"
|
||||
];
|
||||
] ++ lib.optional stdenv.hostPlatform.isDarwin "LDFLAGS=-liconv";
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "http://lpg.ticalc.org/prj_tilp/news.html";
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "opencl-headers";
|
||||
version = "2023.12.14";
|
||||
version = "2024.05.08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KhronosGroup";
|
||||
repo = "OpenCL-Headers";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-wF9KQjzYKJf6ulXRy80o53bp6lTtm8q1NubKbcH+RY0=";
|
||||
sha256 = "sha256-FXDZa5umNilFPls3g/2aNqJvJOJX2JYfY08/Lfm1H1Q=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, libiconv }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ripmime";
|
||||
@@ -8,13 +8,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0sj06ibmlzy34n8v0mnlq2gwidy7n2aqcwgjh0xssz3vi941aqc9";
|
||||
};
|
||||
|
||||
buildInputs = [ libiconv ];
|
||||
preInstall = ''
|
||||
sed -i Makefile -e "s@LOCATION=.*@LOCATION=$out@" -e "s@man/man1@share/&@"
|
||||
mkdir -p "$out/bin" "$out/share/man/man1"
|
||||
'';
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = " -Wno-error ";
|
||||
env = {
|
||||
NIX_CFLAGS_COMPILE = " -Wno-error ";
|
||||
} // lib.optionalAttrs stdenv.hostPlatform.isDarwin {
|
||||
NIX_LDFLAGS = "-liconv";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Attachment extractor for MIME messages";
|
||||
|
||||
@@ -11485,9 +11485,7 @@ with pkgs;
|
||||
|
||||
remarshal = with python3Packages; toPythonApplication remarshal;
|
||||
|
||||
rehex = darwin.apple_sdk_11_0.callPackage ../applications/editors/rehex {
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) Carbon Cocoa IOKit;
|
||||
};
|
||||
rehex = callPackage ../applications/editors/rehex { };
|
||||
|
||||
rio = callPackage ../applications/terminal-emulators/rio { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user