diff options
Diffstat (limited to 'pkgs/applications/radio')
-rw-r--r-- | pkgs/applications/radio/uhd/default.nix | 9 | ||||
-rw-r--r-- | pkgs/applications/radio/welle-io/default.nix | 16 |
2 files changed, 16 insertions, 9 deletions
diff --git a/pkgs/applications/radio/uhd/default.nix b/pkgs/applications/radio/uhd/default.nix index 4b5c2c683444..76519062f590 100644 --- a/pkgs/applications/radio/uhd/default.nix +++ b/pkgs/applications/radio/uhd/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, fetchFromGitHub, cmake, pkgconfig -, python, pythonPackages, orc, libusb1, boost }: +, python, orc, libusb1, boost }: # You need these udev rules to not have to run as root (copied from # ${uhd}/share/uhd/utils/uhd-usrp.rules): @@ -40,7 +40,12 @@ in stdenv.mkDerivation { [ (stdenv.lib.optionalString stdenv.isAarch32 "-DCMAKE_CXX_FLAGS=-Wno-psabi") ]; nativeBuildInputs = [ cmake pkgconfig ]; - buildInputs = [ python pythonPackages.pyramid_mako orc libusb1 boost ]; + buildInputs = [ + (python.withPackages (ps: with ps; [ Mako six requests ])) + orc + libusb1 + boost + ]; # Build only the host software preConfigure = "cd host"; diff --git a/pkgs/applications/radio/welle-io/default.nix b/pkgs/applications/radio/welle-io/default.nix index c6b09595c202..229200f23528 100644 --- a/pkgs/applications/radio/welle-io/default.nix +++ b/pkgs/applications/radio/welle-io/default.nix @@ -1,11 +1,11 @@ -{ stdenv, fetchFromGitHub, cmake, pkgconfig +{ mkDerivation, lib, fetchFromGitHub, cmake, pkgconfig , qtbase, qtcharts, qtmultimedia, qtquickcontrols, qtquickcontrols2 -, faad2, rtl-sdr, soapysdr-with-plugins, libusb, fftwSinglePrec }: +, faad2, rtl-sdr, soapysdr-with-plugins, libusb, fftwSinglePrec, lame, mpg123 }: let - version = "1.0"; + version = "2.0"; -in stdenv.mkDerivation { +in mkDerivation { pname = "welle-io"; inherit version; @@ -13,8 +13,8 @@ in stdenv.mkDerivation { src = fetchFromGitHub { owner = "AlbrechtL"; repo = "welle.io"; - rev = "V${version}"; - sha256 = "1fsr0c2w16z45mcr85sqmllw1xf2gn6hp6f6fmgx2zfprq8gdmcr"; + rev = "v${version}"; + sha256 = "0cp8dyswgwidabaj9bvkkc6hl3160096j6myckd5bw00zxnbfiqn"; }; nativeBuildInputs = [ cmake pkgconfig ]; @@ -22,7 +22,9 @@ in stdenv.mkDerivation { buildInputs = [ faad2 fftwSinglePrec + lame libusb + mpg123 qtbase qtcharts qtmultimedia @@ -38,7 +40,7 @@ in stdenv.mkDerivation { enableParallelBuilding = true; - meta = with stdenv.lib; { + meta = with lib; { description = "A DAB/DAB+ Software Radio"; homepage = https://www.welle.io/; maintainers = with maintainers; [ ck3d markuskowa ]; |