liblastfm: fix macOS build

This commit is contained in:
Matthew Bauer 2017-04-07 22:33:27 -05:00
parent c344f46321
commit 6a6b371a77
No known key found for this signature in database
GPG Key ID: E04D0AD9469141C3

View File

@ -1,4 +1,5 @@
{ stdenv, fetchurl, qt4, pkgconfig, libsamplerate, fftwSinglePrec, which, cmake }:
{ stdenv, fetchurl, qt4, pkgconfig, libsamplerate, fftwSinglePrec, which, cmake
, darwin }:
let version = "1.0.9"; in
@ -15,6 +16,7 @@ stdenv.mkDerivation rec {
prefixKey = "--prefix ";
propagatedBuildInputs = [ qt4 libsamplerate fftwSinglePrec ];
nativeBuildInputs = [ pkgconfig which cmake ];
buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.SystemConfiguration;
meta = {
homepage = http://github.com/lastfm/liblastfm;