diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libfreefare')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libfreefare/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libfreefare/default.nix b/nixpkgs/pkgs/development/libraries/libfreefare/default.nix index 9fd8c1e6b613..f1466dd5a9f5 100644 --- a/nixpkgs/pkgs/development/libraries/libfreefare/default.nix +++ b/nixpkgs/pkgs/development/libraries/libfreefare/default.nix @@ -1,5 +1,7 @@ -{ lib, stdenv, fetchurl, pkg-config, libnfc, openssl -, libobjc ? null }: +{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libnfc, openssl +, libobjc ? null +, IOKit, Security +}: stdenv.mkDerivation { pname = "libfreefare"; @@ -10,8 +12,8 @@ stdenv.mkDerivation { sha256 = "0r5wfvwgf35lb1v65wavnwz2wlfyfdims6a9xpslf4lsm4a1v8xz"; }; - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ libnfc openssl ] ++ lib.optional stdenv.isDarwin libobjc; + nativeBuildInputs = [ autoreconfHook pkg-config ]; + buildInputs = [ libnfc openssl ] ++ lib.optionals stdenv.isDarwin [ libobjc IOKit Security ]; meta = with lib; { description = "The libfreefare project aims to provide a convenient API for MIFARE card manipulations"; |