Commit Graph

34 Commits

Author SHA1 Message Date
Doron Behar
88519c6309 gnuradio: Inherit log dependencies in passthrus
Inherit spdlog for GR 3.10 and log4cpp for lower GR versions. Inherit
both of these in the scope of the GR packages attribute set. Also use
the inherited log4cpp in qradiolink, gqrx & gnss-sdr.
2022-02-18 10:53:48 +02:00
Doron Behar
c970bece30 gnuradio: 3.10.1.0 -> 3.10.1.1 2022-02-18 10:29:57 +02:00
Doron Behar
53474ff6f7 gnuradio: 3.10.0.0 -> 3.10.1.0 2022-01-29 21:54:25 +02:00
Doron Behar
1794554a9a gnuradio: 3.9 -> 3.10 2022-01-15 23:18:00 +02:00
Doron Behar
9ad4900480 gnuradio: 3.9.4.0 -> 3.9.5.0 2022-01-09 23:53:33 +02:00
Doron Behar
3baeba2654 gnuradio: 3.9.3.0 -> 3.9.4.0 2021-12-03 10:39:42 +02:00
Doron Behar
58025e8587 gnuradio: Reenable thrift support
Apparently, this requires thrift to be added to all other reverse
dependencies.
2021-10-23 23:46:45 +03:00
Doron Behar
6e552641b7 gnuradio: Add missing runtime python packages
Although they are not detected as missing during build.
2021-10-23 23:02:52 +03:00
Doron Behar
a7851a7a96 gnuradio: Fix 2 upstream issues 2021-10-23 23:02:21 +03:00
Doron Behar
d60a4a4492 gnuradio: Remove fetchSubmodules argument
No GR package needs this argument now, and in case someone wishes to use
a bundled version of Volk for example they may do so via `overrideSrc`
argument.
2021-10-23 23:01:50 +03:00
Doron Behar
d6fa3fef68 gnuradio: Make hasFeature function simpler
It always needs the `features` attribute of it's derivation as a last
argument, so let's make it do it by it's own.
2021-10-23 23:01:21 +03:00
Doron Behar
63b4f69e40 gnuradio: 3.9.2.0 -> 3.9.3.0 2021-10-21 11:38:59 +03:00
Eduardo Sánchez Muñoz
a7260e81fc gnuradio: 3.9.1.0 -> 3.9.2.0
- Add sopysdr support.
- Remove some workarounds around upstream issues.
2021-06-29 11:25:31 +03:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Eduardo Sánchez Muñoz
07700e51dc gnuradio: remove volk cmake flags mistakenly added
see https://github.com/NixOS/nixpkgs/pull/118345#discussion_r606706207
2021-04-03 22:39:40 +02:00
Eduardo Sánchez Muñoz
6242f38c30 gnuradio: enable gr-vocoder 2021-04-03 14:47:43 +02:00
Eduardo Sánchez Muñoz
24abc4bfc4 gnuradio: 3.9.0.0 -> 3.9.1.0 2021-04-02 20:14:22 +02:00
Doron Behar
fb024f50e5 gnuradio: 3.8 -> 3.9
Add some "3.9" attributes to srcs in gnuradio packages And update
packages using GR3.8 and that are incompatible yet with GR3.9 to use
GR3.8 explicitly.
2021-03-13 19:07:34 +02:00
Doron Behar
650ee258fd gnuradio3_{7,8}: Use external volk
Now that volk is packaged, we can use our build and save some closure
space for those that have more then 1 version of gnuradio installed.
Also, simplify a bit how attributes are inherited in the expression.
2021-03-13 19:07:20 +02:00
Doron Behar
fea0ac887e qradiolink: 0.5.0 -> 0.8.5-2
Use gnuradio.pkgs.mkDerivation (gnuradio 3.8) and updated deps.
2021-03-13 12:47:00 +02:00
Doron Behar
2d08e55e9b gnuradio.pkgs: init
- Write a `mkDerivation` and `mkDerivationWith` function for gnuradio,
  like qt5.
- qradiolink, gqrx: Use gnuradio's callPackage and mkDerivation.
- Use gnuradio.callPackage to define all gnuradio.pkgs.
- Move all gnuradio packages expressions to pkgs/development/gnuradio-modules/ -
  modeled after Python's.
- Add more paths to gnuradio's wrapper - add the extra packages as
  python modules, and add their executables with proper env vars
  wrapping.

Co-authored-by: Frederik Rietdijk <fridh@fridh.nl>
2021-03-13 12:46:59 +02:00
Doron Behar
7690f9a312 gnuradio, uhd: Use boost17x
gnss-sdr needs it: https://github.com/boostorg/format/issues/67 .
uhd and gnuradio need to use the same boost version to avoid
incompatibilities issues. icu is needed from some reason with boost17x.
2021-03-11 18:40:42 +02:00
Thomas Tuegel
0e418a1a18
Merge pull request #108888 from ttuegel/feature--staging--qt-no-mkDerivation
Qt: Do not require mkDerivation
2021-01-26 16:24:41 -06:00
Thomas Tuegel
5590e365e4
qtbase: Check for wrapQtAppsHook in setupHook 2021-01-25 15:56:15 -06:00
volth
bc0d605cf1 treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
Ben Siraphob
5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob
108bdac3d9 pkgs/applications: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Doron Behar
3becac02f8 gnuradio: rewrite
Write (similar) expressions for GNURadio 3.7 and 3.8 and make 3.8
available as `gnuradio`, and `gnuradio3_7` point to the 3.7 build.

Teach both 3.7 & 3.8 expressions accept a `features` attribute set, that
tells them what features to compile. There are dependencies within the
different features, and we rely on upstream's cmake scripts to make sure
the `configurePhase` will fail if a feature is not enabled and needed by
another feature.  All features are enabled by default.

Put shared Nix functions and attributes for both 3.7 and 3.8 in:
pkgs/applications/radio/gnuradio/shared.nix

Add 2 patches accepted upstream, that don't install some python related
examples if python-support is not enabled.

Remove cmake python reference in 3.8 with removeReferencesTo, if
python-support is turned off.

Update gqrx (reverse dependency) to use a build of gnuradio3_7 without
gui components and for it's gr-osmosdr as well.

Write an external, `wrapper.nix` (shared for both 3.7 and 3.8). Teach it
to handle extra `gr-` packages via `GRC_BLOCKS_PATH`. Likely enable it
to accept extra python packages. Wrap the executables with env vars
wrapGAppsHook and wrapQtAppsHook would have likely given them (hence,
fix #87510). Point `gnuradio` to the wrapped 3.8 derivation.

Add @doronbehar to maintainers of both 3.8 and 3.7.

dirty: use upstreamed patches
2020-12-05 13:23:00 +02:00
Doron Behar
93f30ea316 gnuradio: 3.7.13.4 -> 3.7.14.0 2020-05-31 11:59:30 +03:00
Doron Behar
208b5fbd75 gnuradio: format arguments and inputs 2020-05-23 18:42:52 +03:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Robin Gloster
313da176d3
treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Elis Hirwing
7524e06e28
gnuradio: Move from misc to radio 2019-02-09 21:37:45 +01:00