csdr: init at 0.17.1

This commit is contained in:
Astro 2021-11-09 22:52:00 +01:00
parent 06449fce5b
commit a3b504854c
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ stdenv, lib, fetchFromGitHub
, autoreconfHook, pkg-config, fftwFloat, libsamplerate
}:
stdenv.mkDerivation rec {
pname = "csdr";
version = "0.17.1";
src = fetchFromGitHub {
owner = "jketterl";
repo = pname;
rev = version;
sha256 = "1vip5a3xgskcwba3xi66zfr986xrsch9na7my818cm8vw345y57b";
};
patchPhase = ''
substituteInPlace configure.ac \
--replace -Wformat=0 ""
'';
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
fftwFloat
libsamplerate
];
meta = with lib; {
homepage = "https://github.com/jketterl/csdr";
description = "A simple DSP library and command-line tool for Software Defined Radio";
license = licenses.gpl3Only;
platforms = platforms.unix;
maintainers = with maintainers; [ astro ];
};
}

View file

@ -15875,6 +15875,8 @@ with pkgs;
cryptominisat = callPackage ../applications/science/logic/cryptominisat { };
csdr = callPackage ../applications/radio/csdr { };
ctypes_sh = callPackage ../development/libraries/ctypes_sh { };
curlcpp = callPackage ../development/libraries/curlcpp { };