7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
32 lines
825 B
Nix
32 lines
825 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, cctools
|
|
, autoSignDarwinBinariesHook
|
|
, fixDarwinDylibNames
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "liquid-dsp";
|
|
version = "1.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jgaeddert";
|
|
repo = "liquid-dsp";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-3UKAwhYaYZ42+d+wiW/AB6x5TSOel8d++d3HeZqAg/8=";
|
|
};
|
|
|
|
configureFlags = lib.optionals stdenv.hostPlatform.isDarwin [ "LIBTOOL=${cctools}/bin/libtool" ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook ]
|
|
++ lib.optionals stdenv.hostPlatform.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;
|
|
};
|
|
}
|