Commit Graph

50 Commits

Author SHA1 Message Date
Steven Kou
1af589bc44 uhd: 4.6.0.0 -> 4.7.0.0 2024-10-19 21:47:58 +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
Doron Behar
caacdcc33b uhd: mention buggy usrp_hwd.py utility 2024-05-01 09:14:11 +03:00
Doron Behar
7ea5c391ff uhd: improve comment around adapter-test patch 2024-05-01 09:14:11 +03:00
Doron Behar
c9739a9d69 uhd: fix python api feature by not using a pythonEnv 2024-05-01 09:14:11 +03:00
Doron Behar
b125bb3c20 uhd: improve ENABLE_TESTS cmake flag comment 2024-04-30 17:31:40 +03:00
Doron Behar
d47575c3bf uhd: format lib.optionals usages 2024-04-28 16:24:00 +03:00
Doron Behar
003ac8560e uhd: use lib.cmakeBool 2024-04-28 16:23:57 +03:00
Doron Behar
e4bda9ab88
Merge pull request #267593 from r-ryantm/auto-update/uhd
uhd: 4.5.0.0 -> 4.6.0.0
2023-11-17 11:55:50 +00:00
Adam Joseph
c7e0f6b905 treewide: s_targetPlatform_hostPlatform_ in non-compiler packages
stdenv.targetPlatform really shouldn't be used by software that
doesn't generate or manipulate binaries.  I reviewed all uses of
targetPlatform outside of pkgs/development/compilers and pkgs/stdenv
and replaced those which weren't involved in something which fits
these criteria.
2023-11-17 08:07:34 +00:00
R. Ryantm
5d5b344194 uhd: 4.5.0.0 -> 4.6.0.0 2023-11-15 04:47:58 +00:00
Doron Behar
4f03332c70 uhd: 4.4.0.0 -> 4.5.0.0 2023-10-08 11:08:33 +00:00
Doron Behar
cd7babfc8b uhd: add passthru.updateScript 2023-10-08 14:06:35 +03:00
Doron Behar
2c9957e42f uhd: build with utils by default
Build the uhd package with utils enabled by default, and disallow it to
retain python references if these features are disabled. Add a new
package uhdMinimal which does not build with these features. Modify the
gnuradio{,3_{8,9}}Minimal packages so that they use the uhd package
without python references.
2023-10-07 13:26:20 +03:00
Doron Behar
bae9a9cc4e uhd: Improve comments near disabled features 2023-10-07 13:26:20 +03:00
Doron Behar
800db5445d uhd3_5: remove, unused anymore 2023-10-07 13:26:20 +03:00
Doron Behar
8ace65ff3d
treewide: use finalAttrs in all packages I maintain (#255902)
* mpd-touch-screen-gui: use finalAttrs in mkDerivation; reformat

* musescore: use finalAttrs in mkDerivation

* syncthingtray: use stdenv.mkDerivation with a function; reformat

* ocrfeeder: use finalAttrs in mkDerivation; reformat

* castget: use finalAttrs in mkDerivation

* gnome-network-displays: use finalAttrs in mkDerivation

* mailreaders: use finalAttrs in mkDerivation

* mswatch: use finalAttrs in mkDerivation

* uhd: use finalAttrs in mkDerivation

* maxima: use finalAttrs in mkDerivation

* qalculate-gtk: use finalAttrs in mkDerivation

* qalculate-qt: use finalAttrs in mkDerivation

* wxmaxima: use finalAttrs in mkDerivation

* lammps: use finalAttrs in mkDerivation

* mlterm: use finalAttrs in mkDerivation

* video-trimmer: use finalAttrs in mkDerivation

* nerdfonts: use finalAttrs in mkDerivation

* gnomeExtensions.easyScreenCast: use finalAttrs in mkDerivation

* octave: use finalAttrs in mkDerivation; reformat

* comedilib: use finalAttrs in mkDerivation

* cpp-utilities: use finalAttrs in mkDerivation

* libsForQt5.kpeoplevcard: use finalAttrs in mkDerivation; reformat

* liberio: use finalAttrs in mkDerivation

* libqalculate: use finalAttrs in mkDerivation; reformat

* libwtk-sdl2: use finalAttrs in mkDerivation

* libsForQt5.pulseaudio-qt: use finalAttrs in mkDerivation; reformat

* qrupdate: use finalAttrs in mkDerivation; reformat

* libsForQt5.qtforkawesome: use finalAttrs in mkDerivation; reformat

* libsForQt5.qtutilities: use finalAttrs in mkDerivation; reformat

* sqlitecpp: use finalAttrs in mkDerivation; reformat

* tweeny: use finalAttrs in mkDerivation

* volk: use finalAttrs in mkDerivation

* wiringpi: use finalAttrs in mkDerivation

* snzip: use finalAttrs in mkDerivation; reformat

* bpm-tools: use finalAttrs in mkDerivation; reformat

* sacd: use finalAttrs in mkDerivation

* gtk-gnutella: use finalAttrs in mkDerivation; reformat

* sile: use finalAttrs in mkDerivation

* pplatex: use finalAttrs in mkDerivation; reformat
2023-09-21 11:31:17 +03:00
Doron Behar
25665063b9 uhd: Add a buildPackages pythonEnv for nativeBuildInputs 2023-04-17 21:19:57 +03:00
Doron Behar
be4ae4fbfd uhd: Remove unused enableSim flag 2023-04-17 21:19:57 +03:00
Doron Behar
3697ccb4b1 uhd: Remove neon.patch not applying anymore 2023-04-17 21:19:57 +03:00
Doron Behar
9c8a86d52f Revert "uhd: fix cross"
This reverts commit ec1631a06f.

It was merged too fast, without giving a chance to maintainers to
suggest the changes in the upcoming commits.
2023-04-17 21:14:52 +03:00
Adam Joseph
ec1631a06f uhd: fix cross
This commit adds `python3` to `nativeBuildInputs` in order to fix
cross compilation of `uhd`.
2023-04-16 17:43:38 -07:00
Travis Whitaker
b6bd2830cd gnuradio: fix on darwin-aarch64 2023-03-16 15:36:16 +02:00
Martin Weinelt
bcf6c81a88 Merge remote-tracking branch 'origin/master' into staging-next 2023-03-06 16:55:14 +00:00
Doron Behar
c3c40d562c uhd: 4.1.0.5 -> 4.4.0.0
Diff: https://github.com/EttusResearch/uhd/compare/v4.1.0.5...4.4.0.0
2023-03-02 16:05:09 +02:00
Martin Weinelt
9e7f9a402b
python310Packages.mako: Normalize attribute, pname, dirname 2023-02-19 21:36:02 +01:00
Rick van Schijndel
433701147a
treewide: pkgs/applications: mark broken for aarch64-linux 2022-05-30 13:42:58 +02:00
Rick van Schijndel
37c633f7ae treewide: pkgs/applications: mark broken for darwin 2022-05-29 10:56:04 +02:00
Sandro Jäckel
1604f6187e
uhd: reduce runtime closure size 2022-04-28 21:45:07 +02:00
Doron Behar
44ee31f6c6 uhd: Disable tests on darwin 2021-12-23 11:28:32 +02:00
Doron Behar
03572bd8d9 uhd: 4.0.0.0 -> 4.1.0.5
Update and remove some input arguments due to changes in cmake variables
upstream.

Add @doronbehar as maintainer.
2021-12-23 09:22:21 +02:00
Doron Behar
4f2573e875 uhd: 3.15.0.0 -> 4.0.0.0 2021-03-11 18:40:41 +02: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
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Doron Behar
b70907b9b6 uhd: quote homepage URL 2020-04-05 10:35:22 +02:00
Doron Behar
0ba95d0fc2 uhd: switch to python3 by default 2020-04-05 10:35:22 +02:00
Doron Behar
7da8a30a64 uhd: move udev rules to the standard location 2020-04-05 10:35:22 +02:00
Doron Behar
bcf5a67e2a uhd: cleanup deps & add many enable / disable flags 2020-04-05 10:35:22 +02:00
Doron Behar
fd2c3ff812 uhd: Remove python six and requests unneeded deps (tested) 2020-04-05 10:35:22 +02:00
Doron Behar
9723ccbc34 uhd: Remove orc unneeded dep 2020-04-05 10:35:22 +02:00
Doron Behar
6dc7131d26 uhd: remove and add TODO for old build fixes 2020-04-05 10:35:22 +02:00
Doron Behar
7bbed32888 uhd: format arguments and inputs 2020-04-05 10:35:22 +02:00
Doron Behar
b68894b2cf uhd: 3.14.0.0 -> 3.15.0.0
Use rec instead of let in and use only 1 version attribute.
2020-04-05 10:35:22 +02:00
Markus Kowalewski
10bccd2952 uhd: fix outdated python module (Mako) 2019-10-31 07:10:09 +01:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Will Dietz
74c3bec1da
uhd: 3.13.0.1 -> 3.14.0.0 2019-05-31 07:50:34 -05:00
Elis Hirwing
4619f2ab12
uhd: Move from misc to radio 2019-02-09 21:40:16 +01:00