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