Commit Graph

233 Commits

Author SHA1 Message Date
Jan Malakhovski
591ccfe5b9 treewide: noop: refer to src.name or similar where appropriate, part 3: more use cases
This continues where d8f7f6a5ce left off. Similarly
to that commit, this commit this also points `sourceRoot`s to `src.name` and similar
instead of keeping hardcoded names, and edits other derivation attrs do do the same,
where appropriate.

Also, similarly to d8f7f6a5ce some of expressions this
edits use `srcs` attribute with customly-named sources, so they have to be moved
into `let` blocks to keep evaluation efficient (the other, worse, way to do this
would to recurcively refer to `elemAt n finalAttrs.srcs` or, similarly, with `rec`).
2023-08-11 09:20:44 +00:00
Kirill Radzikhovskyy
4dabf26caf openocd: fixup pin libgpiod 2023-08-09 20:10:19 +10:00
Pol Dellaiera
62d3dc7026
openfpgaloader: use `finalAttrs pattern 2023-08-06 21:33:43 +02:00
R. Ryantm
2195e53f3f openfpgaloader: 0.10.0 -> 0.11.0 2023-08-06 09:00:38 +00:00
Weijia Wang
a899d35823
Merge pull request #242570 from fortuneteller2k/elf2uf2-darwin
elf2uf2-rs: support darwin
2023-08-06 00:58:15 +02:00
Jan Malakhovski
5852f26bdc treewide: noop: refer to src.name or similar in sourceRoot where appropriate, part 1: trivial cases 2023-08-03 16:32:03 +00:00
R. Ryantm
7592343f14 avrdude: 7.1 -> 7.2 2023-08-01 00:45:26 +00:00
fortuneteller2k
87b9b9f572 blisp: init at unstable-2023-06-03 2023-07-26 09:15:27 +08:00
fortuneteller2k
62b322de1c elf2uf2-rs: support darwin 2023-07-10 18:08:57 +08:00
Janik
ed6afb10df
Merge pull request #203422 from prtzl/stm32cubemx 2023-07-08 17:23:42 +02:00
Atemu
67eec418ab
Merge pull request #240860 from Atemu/fhsenv-no-multiarch
buildFHSEnv: disable multiArch by default
2023-07-08 13:53:41 +02:00
Sergey Vlasov
1063bc0965 avrdude: remove avrdude.ps from docs
This PostScript file contains the full path of the dvips executable in
comments, therefore the resulting package gets a runtime dependency on
the texlive-combined-medium package, which adds almost 1GB to the
closure size.

The same documentation is still available in the PDF format, which is
probably more useful in 2023.
2023-07-05 16:45:16 +03:00
Alex Martens
1d750c3699 orbuculum: 2.0.0 -> 2.1.0 2023-07-03 21:20:19 -07:00
figsoda
c5e866c001 pkgs/development: replace "${version}" with version 2023-07-02 14:47:32 -04:00
Atemu
f0c58f6e96 tree-wide: use new multiArch buildFHSEnv argument
This is much more direct and sensible than setting a function null
2023-07-01 13:42:17 +02:00
prtzl
b8b52d7668 Use makeDesktopItems but copy it to the correct path in the buildCommand manualy. 2023-06-28 21:17:15 +02:00
Janik
765ea68e52
Merge pull request #232055 from poelzi/arduinoOTA 2023-06-26 21:12:02 +02:00
Stefan Frijters
44a7a7c5c7
arduino-cli: 0.32.2 -> 0.33.0 2023-06-13 22:17:51 +02:00
Daniel Poelzleithner
672fe6521a arduinoOTA: init at 1.4.1 2023-06-06 01:54:32 +02:00
Weijia Wang
fae6bac8f5
Merge pull request #234358 from r-ryantm/auto-update/stm32cubemx
stm32cubemx: 6.8.0 -> 6.8.1
2023-05-27 13:01:52 +03:00
R. Ryantm
769483f12a stm32cubemx: 6.8.0 -> 6.8.1 2023-05-27 04:54:49 +00:00
Daniel Nagy
9aa6989b64
avrdude: always build documentation on Linux
Make texlive a build-time dependency to always build the docs on Linux.
2023-05-26 23:45:00 +02:00
R. Ryantm
4eb5dce0d9 wch-isp: 0.2.4 -> 0.2.5 2023-05-23 07:31:56 +00:00
Thomas Gerbet
b1b7a76355
Merge pull request #226248 from LeSuisse/wch-isp-init
wch-isp: init at 0.2.4
2023-05-11 23:36:44 +02:00
Dan Callaghan
5337648a1c openocd: use packaged libjaylink and jimtcl instead of bundled copies 2023-05-09 13:48:22 +10:00
Doron Behar
68054e5c51
Merge pull request #227880 from SFrijters/arduino-cli-0.32.2
arduino-cli: 0.31.0 -> 0.32.2, enable (most) unittests
2023-05-03 06:31:14 -07:00
Stefan Frijters
51507a3f28
arduino-cli: enable (most) unittests on Linux
Ofborg fails/hangs on Darwin and I cannot easily debug this.
2023-05-02 10:46:26 +02:00
R. Ryantm
409b519ce9 nmrpflash: 0.9.19 -> 0.9.20 2023-04-29 07:08:25 +00:00
Stefan Frijters
4042fa838a
arduino-cli: 0.31.0 -> 0.32.2 2023-04-23 23:18:23 +02:00
adisbladis
f88eb92ff9 platformio: Don't link udev rules into a subdirectory
This causes collisions when NixOS is configured like
``` nix
{ pkgs, ... }:
{
  services.udev.packages = [ pkgs.platformio ];
}
```

and would also cause a regression having to add the subirectory to the udev packages path:
``` nix
{ pkgs, ... }:
{
  services.udev.packages = [ (pkgs.platformio-core.udev + "/99-platformio-udev.rules") ];
}
```
2023-04-18 15:48:49 +12:00
Atemu
f63a12f296 tree-wide: buildFHSUserEnv -> buildFHSEnv 2023-04-16 10:15:13 +02:00
Thomas Gerbet
c7f579c80e wch-isp: init at 0.2.4
https://github.com/jmaselbas/wch-isp

NixOS users can load the udev rule with
`services.udev.packages = [ wch-isp ];`
2023-04-15 12:05:46 +02:00
adisbladis
41c97bd32b
Merge pull request #224175 from adisbladis/platformio-udev-multi
platformio: make multi-output
2023-04-12 21:40:36 +12:00
adisbladis
a758953c19 platformio: add ncurses
Running `pio check` with clang-tidy currently fails because of lacking libtinfo.
2023-04-12 19:15:47 +12:00
Adam Joseph
63d9771dc4 openocd: enableParallelBuilding=true 2023-04-05 15:45:12 -07:00
adisbladis
bd3361bcfb platformio: ensure coherent python interpreter with platformio-core 2023-04-01 19:34:06 +13:00
adisbladis
fcbc5d74e7 platformio-core: move src & version to main expression 2023-04-01 19:34:06 +13:00
adisbladis
8d8dd6fdbf platformio: make multi-output
Currently udev rules symlinks against platformio sources, pulling in the platformio source tree into the runtime closure.
Previous to platformio-core being exposed separately from platformio this also meant that you had no ergonomic way to avoid platformio in the system closure, even though you only wanted the udev rules.

We can avoid this by making platformio-core multi output, making it trivial to depend only on the udev rules.
2023-04-01 19:34:05 +13:00
Andrew Childs
119a521977 platformio-core: expose unwrapped platformio as platformio-core
PlatformIO is a pure python package that is in turn a package
manager. In a pure NixOS environment, this means that any downloaded
binary packages will not run. To make PlatformIO usable, there's a
chrootenv wrapper. However, in a mixed environment like other linux or
darwin, the pure python version will work, and in the case of darwin
only the pure version will work, since the chrootenv wrapper is not
supported.

To handle the above use cases we have:

 * platformio -- unwrapped on darwin, wrapped on linux. Should always
                 provide a functional platformio.

 * platformio-core -- always unwrapped (like "bintools-unwrapped") for
                      when the wrapper is explicitly not required. For
                      example, on other linux where the chrootenv is
                      not supported.
2023-04-01 13:13:15 +09:00
Sandro
43aaf447d9
Merge pull request #216708 from lorenz/add-edl 2023-04-01 02:39:56 +02:00
Alex Martens
6c2c9cfb04 svdtools: 0.2.8 -> 0.3.0 2023-03-27 17:21:36 -07:00
Stefan Frijters
7d0bd09e9a
arduino-cli: 0.29.0 -> 0.31.0 2023-03-19 11:38:19 +01:00
Weijia Wang
d0781217d2
Merge pull request #221151 from wegank/bossa-wxgtk
bossa: migrate to wxGTK32
2023-03-18 17:29:50 +02:00
Lorenz Brun
76c796628d edl: init at unstable-2022-09-07
This adds edl, a tool for interfacing with the low-level flashing and
recovery interface embedded in the Boot ROM of a lot of Qualcomm SoCs.

An unreleased version is used as the last released version is very old
and does not properly install itself.
2023-03-16 00:17:20 +01:00
Weijia Wang
ed2a484778
Merge pull request #221139 from r-ryantm/auto-update/stm32cubemx
stm32cubemx: 6.6.1 -> 6.8.0
2023-03-15 22:18:20 +02:00
Weijia Wang
ca33e8f4e0 bossa: migrate to wxGTK32 2023-03-14 13:05:47 +02:00
R. Ryantm
7b0134058d stm32cubemx: 6.6.1 -> 6.8.0 2023-03-14 09:16:02 +00:00
Alyssa Ross
8c70bfb9f2
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/libraries/librsvg/default.nix
	pkgs/development/python-modules/r2pipe/default.nix
2023-03-10 18:46:21 +00:00
Erin van der Veen
7c98145f36 openocd: rework configuration flags
Removed configure flags no longer present in openocd 0.12, and allows
easy configuration of boards. Also removes the two boards that were
enabled before.
2023-03-10 14:03:30 +01:00
Martin Weinelt
b9420fd0d2
platformio: Fix version specifiers 2023-03-09 17:36:45 +01:00