Commit Graph

378 Commits

Author SHA1 Message Date
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
80ad5d63a1 edl: 3.52.1-unstable-2024-07-05 -> 3.52.1-unstable-2024-08-27 2024-08-27 21:03:32 +00:00
Funkeleinhorn
f6896e5787 avrdude: 7.3 -> 8.0
Release notes: 4fa07e563f/NEWS
2024-08-27 19:41:20 +02:00
Lin Jian
308405fbe6
Merge pull request #332427 from xddxdd/edl
edl: unstable-2022-09-07 -> 3.52.1-unstable-2024-07-05
2024-08-22 01:30:01 +08:00
Aaron Kaiser
7c87c474f1 avrdude: add libusb-compat-0_1 dependency
For some programmers, avrdude displays the following error: avrdude error: avrdude was compiled without usb support.
According to this StackOverflow question [1], this is due to libusb-0.1 being missing during compilation.
This commit adds this missing library.

[1] https://stackoverflow.com/questions/69636608/beyond-linux-from-scratch-avrdude-was-compiled-without-usb-support
2024-08-18 12:20:00 +02:00
Alex Martens
0ac8e9e2b6 svdtools: move to pkgs/by-name 2024-08-10 12:18:33 -07:00
Lan Tian
391a2d4bfd
edl: unstable-2022-09-07 -> 3.52.1-unstable-2024-07-05 2024-08-05 01:32:18 -07: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
Martin Weinelt
5927a45d81
platformio: 6.1.11 -> 6.1.15
https://github.com/platformio/platformio-core/releases/tag/v6.1.12
https://github.com/platformio/platformio-core/releases/tag/v6.1.13
https://github.com/platformio/platformio-core/releases/tag/v6.1.14
https://github.com/platformio/platformio-core/releases/tag/v6.1.15
2024-08-01 01:49:28 +02:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Peder Bergebakken Sundt
f81d6df1d2
Merge pull request #329361 from SFrijters/arduino-cli-1.0.3
arduino-cli: 1.0.2 -> 1.0.3, clean up
2024-07-27 18:12:11 +02:00
Sigmanificient
6dd44107ac treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00
Stefan Frijters
724b8426d8
arduino-cli: move to by-name 2024-07-23 11:20:46 +02:00
Stefan Frijters
38bc5fa17e
arduino-cli: reformat according to nixpkgs RFC166 2024-07-23 11:05:29 +02:00
Stefan Frijters
7df8684583
arduino-cli: 1.0.2 -> 1.0.3 2024-07-23 11:03:15 +02:00
Alex Jackson
c19d62ad22
edl: add udev rules (#323878) 2024-07-21 13:05:48 +02:00
R. Ryantm
15836e5967 rshell: 0.0.32 -> 0.0.33 2024-07-15 16:18:51 +02:00
Pyrox
0b8eaf081f
fetchCrate: sha256 -> hash
Should cause no rebuilds, as this is just updating attributes.
2024-07-14 13:48:13 -04:00
aleksana
07c1bc2034 treewide: sha256 -> hash attribute for pypi fetchers 2024-07-14 01:25:22 +08:00
Nick Cao
0a904a5926
Merge pull request #326078 from r-ryantm/auto-update/svdtools
svdtools: 0.3.15 -> 0.3.17
2024-07-11 19:50:18 -04:00
R. Ryantm
d1c985b957 svdtools: 0.3.15 -> 0.3.17 2024-07-10 09:46:18 +00:00
Karel Kočí
4065496c9f
openocd: allow building for Windows
This introduces few changes to the OpenOCD to be able to build under
mingw32. Right now it is slim down version to allow at least minimal but
still functional version to be available.
2024-07-09 13:47:06 +02:00
github-actions[bot]
5a601bc241
Merge master into staging-next 2024-07-06 06:01:20 +00:00
Masum Reza
07e7db2236
Merge pull request #324097 from SFrijters/arduino-cli-1.0.2
arduino-cli: 1.0.1 -> 1.0.2, add myself as maintainer
2024-07-06 11:08:45 +05:30
Stefan Frijters
1acd392a98
arduino-cli: add asl20 license
See https://github.com/arduino/arduino-cli/pull/2653
"Changed license of .protoc definition to Apache-2.0"
2024-07-05 23:02:37 +02:00
github-actions[bot]
30cfd4445f
Merge master into staging-next 2024-07-05 00:02:21 +00:00
Peder Bergebakken Sundt
e13fd0db9e
Merge pull request #321128 from Luflosi/update/apio
apio: 0.8.1 -> 0.9.5
2024-07-04 20:47:19 +02:00
Weijia Wang
f5a7e092f3 Merge branch 'master' into staging-next 2024-07-02 22:22:02 +02:00
R. Ryantm
34f0f24d94 svdtools: 0.3.14 -> 0.3.15 2024-07-02 18:27:27 +00:00
Stefan Frijters
e2e79e7609
arduino-cli: add sfrijters as maintainer 2024-07-02 19:01:50 +02:00
Stefan Frijters
7eae44871c
arduino-cli: 1.0.1 -> 1.0.2 2024-07-02 18:59:10 +02:00
Martin Weinelt
d50a1e97b1
Merge remote-tracking branch 'origin/master' into staging-next 2024-06-27 16:16:01 +02:00
Sandro Jäckel
25c5877309 platformio-core: don't fail on new deprecation warnings 2024-06-24 12:18:34 +02:00
Luflosi
a52dfe8145
apio: 0.8.1 -> 0.9.5
https://github.com/FPGAwars/apio/releases/tag/v0.9.5

Also:
- Enable `strictDeps`
- Disable failing test
- Use `pyproject = true` instead of `format = "pyproject"`
- Use `--replace-fail` instead of `--replace`
- Minor improvements
2024-06-22 13:54:48 +02:00
Stefan Frijters
86101aa2c7
arduino-cli: 1.0.0 -> 1.0.1 2024-06-20 21:09:12 +02:00
Stefan Frijters
89490ebd2e
arduino-cli: 0.35.3 -> 1.0.0 2024-06-20 21:09:12 +02:00
github-actions[bot]
8914dc8ee0
Merge staging-next into staging 2024-06-20 00:02:50 +00:00
Rick van Schijndel
7e1f4f7daf
Merge pull request #320613 from yottanami/add-udev-to-platformio
platformio: add udev to dependencies
2024-06-19 20:15:14 +02:00
Martin Weinelt
f822b2ba5c Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/development/python-modules/langsmith/default.nix
- pkgs/development/python-modules/rich-pixels/default.nix
- pkgs/servers/teleport/generic.nix
2024-06-18 20:16:19 +02:00
yottanami
0ba947ba44 platformio: add udev to dependencies 2024-06-17 22:50:29 +02:00
Nick Cao
2dd2a2cd26
Merge pull request #320156 from r-ryantm/auto-update/ecpdap
ecpdap: 0.1.8 -> 0.2.0
2024-06-17 16:17:04 -04:00
github-actions[bot]
857d0ab18b
Merge staging-next into staging 2024-06-16 00:03:10 +00:00
R. Ryantm
d0944be9eb ecpdap: 0.1.8 -> 0.2.0 2024-06-15 23:24:29 +00:00
Emily
4b1d39d935 treewide: remove myself from packages I don’t use
I’ve had an extended absence from Nix work and no longer actively
use a bunch of packages I used to maintain, so remove myself as a
maintainer from things I can’t usefully review/test changes for
as I ease back into things. This does unfortunately leave a few
packages orphaned (`stm32loader`, `tinyprog`, `python3Packages.fx2`,
and `python3Packages.jsonmerge`).
2024-06-15 16:53:23 +01:00
Martin Weinelt
abdf5dc772
treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
R. Ryantm
e419d58d8d teensy-loader-cli: 2.2 -> 2.3 2024-06-07 15:42:15 +00:00
isabel
63aceac766 treewide: remove unused occurence of fetchFromGitHub argument 2024-05-30 05:56:07 +00:00
Sigmanificient
05fa591701 treewide: drop python 3.4 checks 2024-05-17 13:05:55 +02:00