nixpkgs/pkgs/development/libraries/liquid-dsp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
799 B
Nix
Raw Normal View History

2022-09-18 04:14:57 +00:00
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, cctools
2022-10-11 23:03:35 +00:00
, autoSignDarwinBinariesHook
, fixDarwinDylibNames
2022-09-18 04:14:57 +00:00
}:
2022-03-18 14:14:29 +00:00
stdenv.mkDerivation rec {
pname = "liquid-dsp";
2022-11-22 15:06:44 +00:00
version = "1.5.0";
src = fetchFromGitHub {
owner = "jgaeddert";
repo = "liquid-dsp";
2022-03-18 14:14:29 +00:00
rev = "v${version}";
2022-11-22 15:06:44 +00:00
sha256 = "sha256-EvCxBwzpi3riSBhlHr6MmIUYKTCp02y5gz7pDJCEC1Q=";
};
2022-09-18 04:14:57 +00:00
configureFlags = lib.optionals stdenv.isDarwin [ "LIBTOOL=${cctools}/bin/libtool" ];
2022-10-11 23:03:35 +00:00
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;
};
}