liquid-dsp: fix darwin build

This commit is contained in:
Stanisław Pitucha 2022-09-18 14:14:57 +10:00 committed by Stanisław Pitucha
parent a30eeb16a0
commit b6a2280681
2 changed files with 9 additions and 4 deletions

View file

@ -1,4 +1,9 @@
{lib, stdenv, fetchFromGitHub, autoreconfHook }:
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, cctools
}:
stdenv.mkDerivation rec {
pname = "liquid-dsp";
@ -11,10 +16,10 @@ stdenv.mkDerivation rec {
sha256 = "0mr86z37yycrqwbrmsiayi1vqrgpjq0pn1c3p1qrngipkw45jnn0";
};
nativeBuildInputs = [ autoreconfHook ];
configureFlags = lib.optionals stdenv.isDarwin [ "LIBTOOL=${cctools}/bin/libtool" ];
nativeBuildInputs = [ autoreconfHook ] ++ lib.optionals stdenv.isDarwin [ cctools ];
meta = {
broken = stdenv.isDarwin;
homepage = "https://liquidsdr.org/";
description = "Digital signal processing library for software-defined radios";
license = lib.licenses.mit;

View file

@ -20546,7 +20546,7 @@ with pkgs;
lirc = callPackage ../development/libraries/lirc { };
liquid-dsp = callPackage ../development/libraries/liquid-dsp { };
liquid-dsp = callPackage ../development/libraries/liquid-dsp { inherit (darwin) cctools; };
liquidfun = callPackage ../development/libraries/liquidfun { };