nixpkgs/pkgs/applications/radio/sigutils/default.nix
2022-10-08 02:28:24 +02:00

40 lines
770 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, fftwSinglePrec
, libsndfile
, volk
}:
stdenv.mkDerivation rec {
pname = "sigutils";
version = "unstable-2022-07-05";
src = fetchFromGitHub {
owner = "BatchDrake";
repo = "sigutils";
rev = "1d7559d427aadd253dd825eef26bf15e54860c5f";
sha256 = "sha256-wvd6sixwGmR9R4x+swLVqXre4Dqnj10jZIXUfaJcmBw=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
fftwSinglePrec
libsndfile
volk
];
meta = with lib; {
description = "Small signal processing utility library";
homepage = "https://github.com/BatchDrake/sigutils";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ polygon oxapentane ];
};
}