liblastfm: fix macOS build
This commit is contained in:
parent
c344f46321
commit
6a6b371a77
@ -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
|
let version = "1.0.9"; in
|
||||||
|
|
||||||
@ -15,6 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
prefixKey = "--prefix ";
|
prefixKey = "--prefix ";
|
||||||
propagatedBuildInputs = [ qt4 libsamplerate fftwSinglePrec ];
|
propagatedBuildInputs = [ qt4 libsamplerate fftwSinglePrec ];
|
||||||
nativeBuildInputs = [ pkgconfig which cmake ];
|
nativeBuildInputs = [ pkgconfig which cmake ];
|
||||||
|
buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.SystemConfiguration;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://github.com/lastfm/liblastfm;
|
homepage = http://github.com/lastfm/liblastfm;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user