summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/radio/sigutils
diff options
context:
space:
mode:
authorGrigory Shipunov <blame@oxapentane.com>2022-10-08 02:28:24 +0200
committerGrigory Shipunov <blame@oxapentane.com>2022-10-08 02:28:24 +0200
commite53592866269bf2bddc2bd13e82759e432b9776a (patch)
tree358a00524bf3c7136cb12ed16971c0cfba9e2111 /pkgs/applications/radio/sigutils
parent846c75400ecf5e43c333496844443891ac31a826 (diff)
sigutils: init at unstable-2022-07-05
Diffstat (limited to 'pkgs/applications/radio/sigutils')
-rw-r--r--pkgs/applications/radio/sigutils/default.nix40
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/applications/radio/sigutils/default.nix b/pkgs/applications/radio/sigutils/default.nix
new file mode 100644
index 000000000000..8b384af02270
--- /dev/null
+++ b/pkgs/applications/radio/sigutils/default.nix
@@ -0,0 +1,40 @@
+{ 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 ];
+ };
+}