57 Commits

Author SHA1 Message Date
Doron Behar
4a407333f0 gnuradioPackages.osmosdr: use lib.cmakeBool for PYTHON flag 2026-07-24 14:46:54 +03:00
Doron Behar
63a0f8d361 gnuradioPackages.osmosdr: add airspyhf package 2026-07-24 09:30:55 +03:00
Chuang Zhu
c71a0e7c29 gnuradioPackages.fosphor: fix build with boost 1.89
Assisted-by: Codex:gpt-5.5
2026-05-31 16:05:12 +08:00
Doron Behar
d802e9910d gnuradioMinimal.pkgs.osmosdr: make it possible to disable features 2026-03-04 14:56:49 +02:00
Doron Behar
d3692ebb9a gnuradioMinimal.pkgs.osmosdr: use finalAttrs 2026-03-04 14:56:46 +02:00
Doron Behar
82cd6a28b3 gnuradioPackages.osmosdr: Divide inputs to categories 2026-03-04 14:56:43 +02:00
Doron Behar
b8ff9a4c50 gnuradio.pkgs.mkDerivation: nixfmt 2026-03-04 14:56:40 +02:00
Doron Behar
89911efe11 gnuradio.pkgs.mkDerivation: Allow finalAttrs pattern 2026-03-04 14:56:37 +02:00
Doron Behar
a1464b10ae gnuradioPackages.osmosdr: fix build with boost 1.89 2026-03-03 21:53:23 +02:00
Doron Behar
5f2283f402 gnuradioPackages.lora_sdr: unstable-2025-01-09 -> 0-unstable-2026-01-05
Diff: 9befbad3e6...862746dd1c

Also fixes the build with boost 1.89.
2026-03-03 21:43:18 +02:00
Jared Baur
02d1a5335f gnuradioPackages.gr-difi: init at 0-unstable-2025-08-16
This adds the out-of-tree module for DIFI support in gnuradio.
2025-12-13 18:26:06 -08:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Peder Bergebakken Sundt
5aba99242e treewide: fix typos in comments
Made with

```shell
git restore .
fd '\.nix$' pkgs/ --type f -j1 -x bash -xc "$(cat <<"EOF"
    typos --no-check-filenames --write-changes "$1"
    git diff --exit-code "$1" && exit
    #( git diff "$1" | grep -qE "^\+ +[^# ]") && git restore "$1"
    count1="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> ' | wc -l )"
    count2="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> (<span style="color:#f8f8f2;"> *</span>)?<span style="color:#75715e;">.*</span>$' | wc -l )"
    [[ $count1 -ne $count2 ]] && git restore "$1"
EOF
)" -- {}
```

and filtered with `GIT_DIFF_OPTS='--unified=15' git -c interactive.singleKey=true add --patch`

I initially tried using the tree-sitter cli, python bindings and even ast-grep through various means, but this is what I ended up with.
2025-02-24 10:44:41 +01:00
Chuang Zhu
0cd771bf36 gnuradioPackages.lora_sdr: init at unstable-2025-01-09 2025-02-04 19:09:15 +08:00
wucke13
e8bc2c81a0 gnuradioPackages.bladeRF: init at 0-unstable-2023-11-20 (#345249)
gr-bladeRF: init at unstable-2023-11-20

Co-authored-by: Arne Keller <2012gdwu+github@posteo.de>
2025-01-05 21:38:01 +01:00
Doron Behar
d8fb383b51 gnuradioPackages.grnet: remove
Cannot be used anymore by any modern GR version.
2024-12-24 11:57:42 +02:00
Doron Behar
1d884e1e5a gnuradioPackages.gsm: remove
Cannot be used anymore by any modern GR version.
2024-12-24 11:57:42 +02:00
Doron Behar
25e5103b8e gnuradioPackages.nacl: remove
Cannot be used anymore by any modern GR version.
2024-12-24 11:57:42 +02:00
Doron Behar
f3426f874e gnuradioPackages.rds: remove
Cannot be used anymore by any modern GR version.
2024-12-24 11:57:42 +02:00
Doron Behar
19f71524c2 gnuradioPackages.limesdr: remove
Cannot be used anymore by any modern GR version.
2024-12-24 11:57:41 +02:00
Doron Behar
9063945899 gnuradioPackages.ais: remove
Cannot be used anymore by any modern GR version.
2024-12-24 11:57:41 +02:00
Doron Behar
c405f45fc0 gnuradioPackages.osmosdr: simplify expression for a single GR version
Remove unused swig3 dependency - was really needed only for GR 3.8 that
is now removed.
2024-12-24 11:57:41 +02:00
Doron Behar
6d55129551 gnuradioPackages.osmosdr: don't use with lib; in meta 2024-12-24 11:57:40 +02:00
Doron Behar
9fb5c8cec9 gnuradio: use new apple-sdk pattern 2024-12-24 11:57:40 +02:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
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