suscan: init at unstable-2022-07-05

This commit is contained in:
Grigory Shipunov 2022-10-08 02:29:07 +02:00
parent e535928662
commit 49584052fe
No known key found for this signature in database
GPG Key ID: 91FA5E5BF9AA901C
2 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,50 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, fftwSinglePrec
, libsndfile
, sigutils
, soapysdr-with-plugins
, libxml2
, volk
}:
stdenv.mkDerivation rec {
pname = "suscan";
version = "unstable-2022-07-05";
src = fetchFromGitHub {
owner = "BatchDrake";
repo = "suscan";
rev = "37dad542b97aff24654f0bb80fb8e85af7cb84ab";
sha256 = "sha256-h1ogtYjkqiHb1/NAJfJ0HQIvGnZM2K/PSP5nqLXUf9M=";
};
postPatch = ''
sed -i 's/fftw3 >= 3.0/fftw3f >= 3.0/' suscan.pc.in
'';
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
fftwSinglePrec
libsndfile
sigutils
soapysdr-with-plugins
libxml2
volk
];
meta = with lib; {
description = "Channel scanner based on sigutils library";
homepage = "https://github.com/BatchDrake/suscan";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ polygon oxapentane ];
};
}

View File

@ -22053,6 +22053,8 @@ with pkgs;
splat = callPackage ../applications/radio/splat { };
suscan = callPackage ../applications/radio/suscan { };
suwidgets = libsForQt5.callPackage ../applications/radio/suwidgets { };
sratom = callPackage ../development/libraries/audio/sratom { };