mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
aribb25: fix darwin
This commit is contained in:
parent
2cc02eca4d
commit
8ec0aa7cb6
@ -28,7 +28,11 @@ stdenv.mkDerivation rec {
|
|||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = if stdenv.hostPlatform.isDarwin then [ PCSC ] else [ pcsclite ];
|
buildInputs =
|
||||||
|
lib.optionals stdenv.hostPlatform.isDarwin [ PCSC ]
|
||||||
|
++ lib.optionals stdenv.hostPlatform.isLinux [ pcsclite ];
|
||||||
|
|
||||||
|
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-deprecated-non-prototype";
|
||||||
|
|
||||||
patches =
|
patches =
|
||||||
let
|
let
|
||||||
@ -47,8 +51,6 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
buildFlags = lib.optional stdenv.hostPlatform.isDarwin "pcsclite_CFLAGS=-I${PCSC}/Library/Frameworks/PCSC.framework/Headers";
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Sample implementation of the ARIB STD-B25 standard";
|
description = "Sample implementation of the ARIB STD-B25 standard";
|
||||||
homepage = "https://code.videolan.org/videolan/aribb25";
|
homepage = "https://code.videolan.org/videolan/aribb25";
|
||||||
|
Loading…
Reference in New Issue
Block a user