Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f5c66062872f
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2e2cb2890c6a
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jan 18, 2020

  1. svxlink: init at 19.09.1 (#76990)

    zaninime authored and bennofs committed Jan 18, 2020
    Copy the full SHA
    2e2cb28 View commit details
Showing with 73 additions and 0 deletions.
  1. +71 −0 pkgs/applications/radio/svxlink/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
71 changes: 71 additions & 0 deletions pkgs/applications/radio/svxlink/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{ stdenv, cmake, pkgconfig, fetchFromGitHub, makeDesktopItem, alsaLib, speex
, libopus, curl, gsm, libgcrypt, libsigcxx, popt, qtbase, qttools
, wrapQtAppsHook, rtl-sdr, tcl, doxygen, groff }:

let
desktopItem = makeDesktopItem rec {
name = "Qtel";
exec = "qtel";
icon = "qtel";
desktopName = name;
genericName = "EchoLink Client";
categories = "HamRadio;Qt;Network;";
};

in stdenv.mkDerivation rec {
pname = "svxlink";
version = "19.09.1";

src = fetchFromGitHub {
owner = "sm0svx";
repo = pname;
rev = version;
sha256 = "0xmbac821w9kl7imlz0mra19mlhi0rlpbyyay26w1y7h98j4g4yp";
};

cmakeFlags = [
"-DDO_INSTALL_CHOWN=NO"
"-DRTLSDR_LIBRARIES=${rtl-sdr}/lib/librtlsdr.so"
"-DRTLSDR_INCLUDE_DIRS=${rtl-sdr}/include"
"../src"
];
enableParallelBuilding = true;
dontWrapQtApps = true;

nativeBuildInputs = [ cmake pkgconfig doxygen groff wrapQtAppsHook ];

buildInputs = [
alsaLib
curl
gsm
libgcrypt
libsigcxx
libopus
popt
qtbase
qttools
rtl-sdr
speex
tcl
];

postInstall = ''
rm -f $out/share/applications/*
cp -v ${desktopItem}/share/applications/* $out/share/applications
mv $out/share/icons/link.xpm $out/share/icons/qtel.xpm
wrapQtApp $out/bin/qtel
'';

meta = with stdenv.lib; {
description = "Advanced repeater controller and EchoLink software";
longDescription = ''
Advanced repeater controller and EchoLink software for Linux including a
GUI, Qtel - The Qt EchoLink client
'';
homepage = "http://www.svxlink.org/";
license = with licenses; [ gpl2 ];
maintainers = with maintainers; [ zaninime ];
platforms = platforms.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -14340,6 +14340,8 @@ in

svrcore = callPackage ../development/libraries/svrcore { };

svxlink = libsForQt5.callPackage ../applications/radio/svxlink { };

swiftclient = python3.pkgs.callPackage ../tools/admin/swiftclient { };

sword = callPackage ../development/libraries/sword { };