Commit Graph

17 Commits

Author SHA1 Message Date
Doron Behar
9a49b084ac gnuradio3_8: use older swig to fix build 2024-10-19 21:52:57 +03:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
da15a2965e gnuradio3_9Packages.osmosdr: 0.2.5 -> 0.2.6 2024-05-25 04:49:12 +00:00
R. Ryantm
6330a2b8c4 gnuradio3_9Packages.osmosdr: 0.2.4 -> 0.2.5 2024-04-03 04:22:29 +00:00
Bjørn Forsman
59daf9b0b6 gnuradioPackages.osmosdr: fix source URL
The current URL doesn't work anymore:

  $ nix-build -A gnuradioPackages.osmosdr.src --check
  checking outputs of '/nix/store/3jmqk57y5214iadfi6ivbgfd1rr9fyib-gr-osmosdr.drv'...
  exporting git://git.osmocom.org/gr-osmosdr (rev v0.2.4) into /nix/store/m1qa9ipmdf4xrc6gl1r0zd0c5r0ns7bk-gr-osmosdr
  Initialized empty Git repository in /nix/store/m1qa9ipmdf4xrc6gl1r0zd0c5r0ns7bk-gr-osmosdr/.git/
  fatal: unable to connect to git.osmocom.org:
  git.osmocom.org[0: 78.46.96.155]: errno=Connection refused
  git.osmocom.org[1: 2a01:4f8:120:8470::2]: errno=Network is unreachable

Fixes https://github.com/NixOS/nixpkgs/issues/298876.
2024-03-26 23:56:35 +01:00
Chuang Zhu
ab34bb7348 gnuradioPackages: disabledForGRafter -> disabled 2024-01-28 18:24:53 +08:00
Bjørn Forsman
a1fb8a399c gnuradioPackages.osmosdr: enable for gnuradio 3.9 and 3.10
Add the latest gr-osmosdr version, 0.2.4, for use with gnuradio 3.9 and
3.10. Add new deps as needed.

Closes https://github.com/NixOS/nixpkgs/issues/226296.
2023-04-21 13:11:49 +03:00
Doron Behar
2634268fa6 gnuradio: Define a common logLib attribute
Use it in all gnuradio modules.
2023-04-21 13:11:49 +03:00
Martin Weinelt
9e7f9a402b
python310Packages.mako: Normalize attribute, pname, dirname 2023-02-19 21:36:02 +01:00
Jiajie Chen
fffa532feb gnuradio3_8Packages.osmosdr: add missing framework on darwin 2022-10-26 21:30:53 +08:00
Sandro Jäckel
a85cabe828
osmosdr: reduce runtime closure size 2022-04-28 21:45:11 +02:00
Doron Behar
0823217739 gnuradio3_8.pkgs.osmosdr: 0.2.2 -> 0.2.3 2022-01-16 00:02:50 +02:00
Doron Behar
d21fa199ae gnuradio.pkgs: Remove redundent null attributes 2022-01-15 23:37:26 +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
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
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
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