1 { stdenv, lib, fetchFromGitHub
2 , cmake, pkg-config, fftwFloat, libsamplerate
5 stdenv.mkDerivation rec {
9 src = fetchFromGitHub {
13 sha256 = "sha256-LdVzeTTIvDQIXRdcz/vpQu/fUgtE8nx1kIEfoiwxrUg=";
21 propagatedBuildInputs = [
26 hardeningDisable = lib.optional stdenv.isAarch64 "format";
29 substituteInPlace "$out"/lib/pkgconfig/csdr.pc \
30 --replace '=''${prefix}//' '=/' \
31 --replace '=''${exec_prefix}//' '=/'
35 homepage = "https://github.com/jketterl/csdr";
36 description = "A simple DSP library and command-line tool for Software Defined Radio";
37 license = licenses.gpl3Only;
38 platforms = platforms.unix;
39 broken = stdenv.isDarwin;
40 maintainers = teams.c3d2.members;