nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 0a930c0a59aad7c138f6e3b1a743c67e3bb0d41a
parent 2897b708f02b533e9b51468c95cd7e6be2136c3a
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sun, 21 Jan 2024 03:47:18 +0400

Add dumphfdl

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/radio/dumphfdl/default.nix | 26++++++++++++++++++++++++++
2 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -495,6 +495,7 @@ lib.makeScope newScope ( acarsdec = callPackage ./radio/acarsdec { }; aprsc = callPackage ./radio/aprsc { }; + dumphfdl = callPackage ./radio/dumphfdl { }; dumpvdl2 = callPackage ./radio/dumpvdl2 { inherit (darwin.apple_sdk.frameworks) AppKit Foundation; }; diff --git a/pkgs/radio/dumphfdl/default.nix b/pkgs/radio/dumphfdl/default.nix @@ -0,0 +1,26 @@ +{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, fftwFloat, glib, libacars, libconfig, liquid-dsp, soapysdr, sqlite, zeromq }: + +stdenv.mkDerivation (finalAttrs: { + pname = "dumphfdl"; + version = "1.6.0"; + + src = fetchFromGitHub { + owner = "szpajder"; + repo = "dumphfdl"; + rev = "v${finalAttrs.version}"; + hash = "sha256-DfHQdZrns3V7WfzAZaoK2vIvE1o4fBcZ4AvvGNFgrfQ="; + }; + + nativeBuildInputs = [ cmake pkg-config ]; + + buildInputs = [ fftwFloat glib libacars libconfig liquid-dsp soapysdr sqlite zeromq ]; + + meta = with lib; { + description = "Multichannel HFDL decoder"; + inherit (finalAttrs.src.meta) homepage; + license = licenses.gpl3Plus; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + broken = stdenv.isDarwin; + }; +})