a71eb02b76
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
32 lines
799 B
Nix
32 lines
799 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, cctools
|
|
, autoSignDarwinBinariesHook
|
|
, fixDarwinDylibNames
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "liquid-dsp";
|
|
version = "1.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jgaeddert";
|
|
repo = "liquid-dsp";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-EvCxBwzpi3riSBhlHr6MmIUYKTCp02y5gz7pDJCEC1Q=";
|
|
};
|
|
|
|
configureFlags = lib.optionals stdenv.isDarwin [ "LIBTOOL=${cctools}/bin/libtool" ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook ]
|
|
++ lib.optionals stdenv.isDarwin [ cctools autoSignDarwinBinariesHook fixDarwinDylibNames ];
|
|
|
|
meta = {
|
|
homepage = "https://liquidsdr.org/";
|
|
description = "Digital signal processing library for software-defined radios";
|
|
license = lib.licenses.mit;
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|