Commit Graph

31 Commits

Author SHA1 Message Date
Chuang Zhu
ac5f925c6c gnuradioPackages.fosphor: init at unstable-2024-03-23 2024-11-19 09:48:02 +02:00
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
Aleksana
33309ebfa3
Merge pull request #331886 from Sigmanificient/remove-unused-arguments-pkgs-dev
pkgs/development: remove unused arguments
2024-08-04 09:27:16 +08:00
Sigmanificient
63d05d989e pkgs/development: remove unused arguments 2024-08-03 17:18:20 +02:00
Doron Behar
06823daf53 gnuradio3_8Packages.ais: mark as broken on Darwin 2024-07-31 12:21:32 +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
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Chuang Zhu
299c7fee76 gnuradio: fix disabledForGRafter deprecation message
Fix a minor mistake I introduced in #284482
2024-01-30 12:04:55 +08:00
Chuang Zhu
ab34bb7348 gnuradioPackages: disabledForGRafter -> disabled 2024-01-28 18:24:53 +08:00
Chuang Zhu
d075c6f0b1 gnuradio: disabledForGRafter -> disabled 2024-01-28 18:22:23 +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
40ebb33f6b gnuradio3_8Packages.grnet: fix compilation on darwin 2022-10-26 21:30:56 +08: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
dbda4fc20c gnuradio.pkgs.grnet: disable for GR 3.10 2022-01-15 23:37:00 +02:00
Chuang Zhu
5bd4d4ac45
gnuradioPackages.grnet: init at unstable
Add versions at different commit hashes for different GR versions.
2021-12-09 07:13:38 +08:00
Vikram Narayanan
22b72c17bb gnuradio3_8packages.ais: fix build 2021-11-25 14:01:32 -08: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
Bjørn Forsman
3e8fb944c2 gnuradio.pkgs.ais: 2015-12-20 -> 2020-08-13
This adds support for GR3.8.
2021-06-20 16:31:31 +02:00
Ben Siraphob
7d97e284e8 treewide: remove redundant stdenv 2021-03-26 12:18:16 +07: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
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