Commit Graph

27 Commits

Author SHA1 Message Date
Stefan Frijters
8a784fb9e7 espflash: 4.4.0 -> 4.5.0 2026-07-09 17:23:56 +02:00
Stefan Frijters
54588ccf04 espflash: 4.3.0 -> 4.4.0 2026-04-19 00:29:18 +02:00
Stefan Frijters
dac689f9f4 espflash: fix build with structuredAttrs 2025-12-16 11:19:30 +01:00
Stefan Frijters
44a66a34d3 espflash: 4.2.0 -> 4.3.0 2025-12-16 11:19:16 +01:00
Stefan Frijters
d07fc57b7e espflash: use finalAttrs 2025-10-16 01:04:07 +02:00
Stefan Frijters
6a9cbcc65d espflash: 4.1.0 -> 4.2.0 2025-10-16 01:03:49 +02:00
Stefan Frijters
94daf413b6 espflash: 4.0.1 -> 4.1.0 2025-09-18 11:32:36 +02:00
Marie Ramlow
c00b7b002b espflash: don't build xtask
xtask is a development-only pattern/tool and should not be built or installed.
See https://github.com/matklad/cargo-xtask
2025-08-11 21:06:43 +02:00
TomaSajt
398b16e16c treewide: remove useFetchCargoVendor usages 2025-07-26 11:39:35 +02:00
Stefan Frijters
72da41d4a8 espflash: 4.0.0 -> 4.0.1 2025-07-07 17:11:41 +02:00
Stefan Frijters
fc1e0d0ee3 espflash: put environment variable in env 2025-07-01 22:03:09 +02:00
Stefan Frijters
4f87aff306 espflash: remove udev dependency
Removed in a105cb01b4
2025-07-01 22:02:07 +02:00
Stefan Frijters
7f4056013c espflash: 3.3.0 -> 4.0.0
The failing doctest was fixed upstream in
85d8f3190b
2025-07-01 16:08:10 +02:00
liberodark
51104bca6e treewide: remove with lib Part 1 2025-06-03 18:27:59 +05:30
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Alyssa Ross
63bff8c132 treewide: migrate to fetchCargoVendor, batch 1
Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes.  It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.

It should be possible to reproduce this diff.  To do so, get the list
of files changed by this commit, e.g. with git diff --name-only, then
run the following two commands, each with that list of files as their
standard input:

	xargs sed -i 's/^\(. *\)\(cargoHash\)\b/\1useFetchCargoVendor = true;\n\1cargoHash/'
	cut -d / -f 4 | xargs -n 1 nix-update --version=skip

This will take a long time.  It might be possible to parallelize it
using xargs' -P option.  I haven't tested it.
2025-01-23 11:46:43 +01:00
Eloy Coto
8b708df01a espflash: 3.2.0 -> 3.3.0
Added new version of espflash, there is a issue with a docstring, with
the args[1] when is called using cargo test, so skipping that test and
I'll submit the change upstream.

Test issue:
3c5de2b996/espflash/src/cli/monitor/external_processors.rs (L22)

Release:
https://github.com/esp-rs/espflash/releases/tag/v3.3.0

Signed-off-by: Eloy Coto <eloy.coto@acalustra.com>
2025-01-14 12:51:26 +01:00
Peder Bergebakken Sundt
0cd04d3036 treewide: migrate fetchgit rev = "refs/tags/..." to tag 2025-01-04 00:19:17 +01: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
Stefan Frijters
8524e36e4b espflash: 3.1.1 -> 3.2.0 2024-10-18 12:04:56 +02: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
Stefan Frijters
a46c4c831f espflash: 3.1.0 -> 3.1.1 2024-08-15 11:08:59 +02:00
Stefan Frijters
739c052d6b espflash: 3.0.0 -> 3.1.0 2024-05-27 12:07:23 +02:00
Weijia Wang
495212307e espflash: fix build on darwin 2024-03-28 12:04:37 +01:00
Stefan Frijters
bc55ffb14a espflash: 2.1.0 -> 3.0.0 2024-03-13 13:17:30 +01:00
Stefan Frijters
2183b128cc espflash: add installShellCompletion 2024-02-17 20:16:21 +01:00
Alex Martens
6babd03fa0 cargo-espflash: rename to espflash (#286386) 2024-02-09 11:50:17 -05:00