depot/third_party/nixpkgs/pkgs/development/libraries/liquid-dsp/default.nix
Default email b41113241d Project import generated by Copybara.
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
2022-09-22 14:36:57 +02:00

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;
};
}