mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-09 05:33:25 +00:00
Merge pull request #247165 from wegank/loudmouth-darwin
loudmouth: fix build on x86_64-darwin
This commit is contained in:
commit
051413fb2d
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, openssl, libidn, glib, pkg-config, zlib }:
|
||||
{ lib, stdenv, fetchurl, openssl, libidn, glib, pkg-config, zlib, darwin }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.5.3";
|
||||
@ -9,15 +9,17 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0b6kd5gpndl9nzis3n6hcl0ldz74bnbiypqgqa1vgb0vrcar8cjl";
|
||||
};
|
||||
|
||||
patches = [
|
||||
];
|
||||
|
||||
configureFlags = [ "--with-ssl=openssl" ];
|
||||
|
||||
propagatedBuildInputs = [ openssl libidn glib zlib ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = lib.optionals (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "11") [
|
||||
darwin.apple_sdk.frameworks.AppKit
|
||||
darwin.apple_sdk.frameworks.Foundation
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A lightweight C library for the Jabber protocol";
|
||||
platforms = platforms.all;
|
||||
|
Loading…
Reference in New Issue
Block a user