nur-packages

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

commit 7024037d88532af0b1f5b5a8368fc69cd2b540c4
parent 7ad85de9523b0de83659df4399e02af97a2cec73
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sun, 29 Jan 2023 16:10:11 +0300

Move sigdigger to nixpkgs

Diffstat:
Mpkgs/default.nix | 11-----------
Dpkgs/radio/sigdigger/default.nix | 46----------------------------------------------
Dpkgs/radio/sigutils/default.nix | 27---------------------------
Dpkgs/radio/suscan/default.nix | 27---------------------------
Dpkgs/radio/suwidgets/default.nix | 33---------------------------------
5 files changed, 0 insertions(+), 144 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -423,18 +423,7 @@ lib.makeScope newScope ( gqrx-scanner = callPackage ./radio/gqrx-scanner { }; linrad = callPackage ./radio/linrad { }; rtlsdr-airband = callPackage ./radio/rtlsdr-airband { }; - sigdigger = libsForQt5.callPackage ./radio/sigdigger { - inherit sigutils suscan suwidgets; - soapysdr = pkgs.soapysdr.override { extraPackages = [ pkgs.soapyrtlsdr ]; }; - }; - sigutils = callPackage ./radio/sigutils { }; smallrx = callPackage ./radio/smallrx { }; - suscan = callPackage ./radio/suscan { - soapysdr = pkgs.soapysdr.override { extraPackages = [ pkgs.soapyrtlsdr ]; }; - }; - suwidgets = libsForQt5.callPackage ./radio/suwidgets { - inherit sigutils; - }; ### SUCKLESS diff --git a/pkgs/radio/sigdigger/default.nix b/pkgs/radio/sigdigger/default.nix @@ -1,46 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, pkg-config, qmake, wrapQtAppsHook -, curl, fftw, fftwFloat, libsndfile, portaudio -, sigutils, soapysdr, suscan, suwidgets, volk -}: - -stdenv.mkDerivation rec { - pname = "sigdigger"; - version = "0.3.0"; - - src = fetchFromGitHub { - owner = "BatchDrake"; - repo = "SigDigger"; - rev = "v${version}"; - hash = "sha256-dS+Fc0iQz7GIlGaR556Ur/EQh3Uzhqm9uBW42IuEqoE="; - }; - - nativeBuildInputs = [ qmake pkg-config wrapQtAppsHook ]; - - buildInputs = [ - curl - fftw - fftwFloat - libsndfile - portaudio - sigutils - soapysdr - suscan - suwidgets - volk - ]; - - qmakeFlags = [ "SUWIDGETS_PREFIX=${suwidgets}" "SigDigger.pro" ]; - - installPhase = lib.optionalString stdenv.isDarwin '' - mkdir -p $out/Applications - cp -r *.app $out/Applications - ''; - - meta = with lib; { - description = "Qt-based digital signal analyzer, using Suscan core and Sigutils DSP library"; - inherit (src.meta) homepage; - license = licenses.gpl3Plus; - maintainers = [ maintainers.sikmir ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/radio/sigutils/default.nix b/pkgs/radio/sigutils/default.nix @@ -1,27 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cmake, pkg-config -, fftwFloat, libsndfile, volk -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "sigutils"; - version = "2022-07-05"; - - src = fetchFromGitHub { - owner = "BatchDrake"; - repo = "sigutils"; - rev = "1d7559d427aadd253dd825eef26bf15e54860c5f"; - hash = "sha256-wvd6sixwGmR9R4x+swLVqXre4Dqnj10jZIXUfaJcmBw="; - }; - - nativeBuildInputs = [ cmake pkg-config ]; - - buildInputs = [ fftwFloat libsndfile volk ]; - - meta = with lib; { - description = "Small signal processing utility library"; - inherit (finalAttrs.src.meta) homepage; - license = licenses.gpl3Plus; - maintainers = [ maintainers.sikmir ]; - platforms = platforms.unix; - }; -}) diff --git a/pkgs/radio/suscan/default.nix b/pkgs/radio/suscan/default.nix @@ -1,27 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cmake, pkg-config -, fftwFloat, libsndfile, libxml2, sigutils, soapysdr, volk -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "suscan"; - version = "2022-07-05"; - - src = fetchFromGitHub { - owner = "BatchDrake"; - repo = "suscan"; - rev = "37dad542b97aff24654f0bb80fb8e85af7cb84ab"; - hash = "sha256-h1ogtYjkqiHb1/NAJfJ0HQIvGnZM2K/PSP5nqLXUf9M="; - }; - - nativeBuildInputs = [ cmake pkg-config ]; - - buildInputs = [ fftwFloat libsndfile libxml2 sigutils soapysdr volk ]; - - meta = with lib; { - description = "Channel scanner based on sigutils library"; - inherit (finalAttrs.src.meta) homepage; - license = licenses.gpl3Plus; - maintainers = [ maintainers.sikmir ]; - platforms = platforms.unix; - }; -}) diff --git a/pkgs/radio/suwidgets/default.nix b/pkgs/radio/suwidgets/default.nix @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, qmake, pkg-config -, fftw, sigutils -}: - -stdenv.mkDerivation rec { - pname = "suwidgets"; - version = "2022-04-03"; - - src = fetchFromGitHub { - owner = "BatchDrake"; - repo = "SuWidgets"; - rev = "826b3eeae5b682dc063f53b427caa9c7c48131ea"; - hash = "sha256-cyFLsP+8GbALdlgEnVX4201Qq/KAxb/Vv+sJqbFpvUk="; - }; - - nativeBuildInputs = [ qmake pkg-config ]; - - buildInputs = [ fftw sigutils ]; - - qmakeFlags = [ "SuWidgetsLib.pro" "PREFIX=/" ]; - - installFlags = [ "INSTALL_ROOT=$(out)" ]; - - dontWrapQtApps = true; - - meta = with lib; { - description = "Sigutils-related widgets"; - inherit (src.meta) homepage; - license = licenses.gpl3Plus; - maintainers = [ maintainers.sikmir ]; - platforms = platforms.unix; - }; -}