Commit Graph

155 Commits

Author SHA1 Message Date
Karolis Stasaitis
edc7beb2db yosys-symbiflow: mark as broken 2026-07-15 13:10:48 +02:00
Karolis Stasaitis
c74b782bcf yosys-bluespec: fix build with yosys 0.67 2026-07-15 13:05:12 +02:00
Clément
5d26766cbf treewide: add missing meta.homepage with source git repository
Added homepage where missing, where the sources are pulled from:
- https://github.com
- https://git.sr.ht
- https://gitlab.com
- https://invent.kde.org
- https://codeberg.org
- https://gitlab.gnome.org
- https://gitlab.freedesktop.org
- https://git.FreeBSD.org
- https://salsa.debian.org
- https://git.tvdr.de
- https://git.suckless.org
2026-06-01 23:40:52 +02:00
Gon Solo
0f1f388f32 synlig: drop
The upstream project is no longer maintained and is not compatible with
newer yosys versions.
2026-01-06 15:51:31 +01:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Luna Nova
e7fbed853b treewide: remove usages of obsolete pie hardening flag 2025-10-09 10:13:03 -07:00
Wolfgang Walther
91a8fee3aa treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00
Weijia Wang
15ed1420f9 yosys-ghdl: 2022.01.11 -> 0-unstable-2025-05-23 2025-07-26 05:55:26 +02:00
Gaetan Lepage
9720de3f1f yosys: move to by-name 2025-07-05 00:29:49 +02:00
Gaetan Lepage
4f4f5ef5c2 Revert "yosys: mark as broken on darwin"
This reverts commit ad60ae83a2.
2025-04-14 01:14:41 +02:00
Gaetan Lepage
ad60ae83a2 yosys: mark as broken on darwin
https://github.com/NixOS/nixpkgs/issues/398121
2025-04-12 13:44:06 +02:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +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
R. Ryantm
ccaed6944e yosys: 0.50 -> 0.51 2025-03-12 09:30:19 +00:00
Weijia Wang
83c6601ab7 python312Packages.yosys: 0.49 -> 0.50 (#381167) 2025-02-26 16:43:38 +01: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
R. Ryantm
67d1a17016 python312Packages.yosys: 0.49 -> 0.50 2025-02-11 13:30:47 +00:00
Henner Zeller
13b7493c0a synlig: 2024-11-29 -> 2024-12-10 2025-02-02 13:26:39 -08:00
R. Ryantm
02adbdce1d python312Packages.yosys: 0.48 -> 0.49 2025-01-21 16:42:15 +00:00
Peder Bergebakken Sundt
0cd04d3036 treewide: migrate fetchgit rev = "refs/tags/..." to tag 2025-01-04 00:19:17 +01:00
Liam Murphy
1ce7523227 yosys: 0.47 -> 0.48
r-ryantm couldn't perform this update automatically because the tag
names seem to have changed from `0.x` to `v0.x`.

Yosys's test suite also now seems to rely on gtkwave for `vcd2fst`.
2024-12-29 18:29:25 -06:00
Henner Zeller
80122f1de6 synlig: 2024-08-07 -> 2024-11-29 2024-12-16 00:02:51 -06: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
Luflosi
d56656e487 yosys: 0.46 -> 0.47
https://github.com/YosysHQ/yosys/releases/tag/0.47

Also mark Synlig as broken as it is currently not compatible with the latest Yosys version.
2024-11-07 12:08:33 +01:00
R. Ryantm
50ac910550 python312Packages.yosys: 0.45 -> 0.46 2024-10-09 19:05:07 +00:00
Luflosi
0b85766161 yosys: 0.44 -> 0.45
https://github.com/YosysHQ/yosys/releases/tag/0.45
2024-09-11 17:24:07 +02:00
Florian
0828c87ea3 Merge pull request #332956 from hzeller/feature-20240807-update-synlig
synlig: 2023-11-28 -> 2024-08-07
2024-08-11 15:30:05 +02:00
R. Ryantm
6e37f5e6d4 yosys: 0.43 -> 0.44 2024-08-07 20:12:25 -05:00
Henner Zeller
c5ddf1ced2 synlig: 2023-11-28 -> 2024-08-07 2024-08-07 02:27:09 -07:00
éclairevoyant
96031e8dd4 treewide: fix uses of finalAttrs.pname in urls 2024-07-23 12:48:10 -04:00
Henner Zeller
61f0a17d3c verilog: rename to actual name iverilog
The iverilog project is commonly known as ... iverilog, not verilog.
The package name `verilog` so far has been confusing, rename to `iverilog`.

While doing so, move the package to the new by-name/ convention directory.
Fix all the fall-out of packages that referred to the old name.
2024-07-15 08:36:13 -07:00
Luflosi
97b0b019e0 yosys: 0.42 -> 0.43
https://github.com/YosysHQ/yosys/releases/tag/yosys-0.43

Also:
- Update patch to fix error on macOS
- Remove an unused argument
- Remove a call to `chmod` since the file now has the executable bit already
2024-07-10 01:59:22 +02:00
Thomas Watson
5f05305bb6 yosys: 0.38 -> 0.42
ABC is now included as a submodule, and we choose to build it like that
instead of having to maintain nixpkgs's version, as each version of Yosys
is only compatible with one particular version of ABC. The built ABC is
available in `$out/bin/yosys-abc` as before.

A little munging is required to present the git hashes as desired.

Additionally, some upstreamed patches are dropped.
2024-06-24 19:40:28 -05:00
h7x4
449246e4cb Merge pull request #320119 from emilazy/remove-myself-from-unused-packages
treewide: remove myself from packages I don’t use
2024-06-16 01:19:51 +02: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
Henner Zeller
c6a7d7a0cd synlig: broken after yosys 0.38
Synlig is currently not compaetible with newer versions of Yosys,
so marking it broken to allow #297531 to proceed.
2024-06-09 10:49:08 -07:00
Thomas Watson
65b289f68a yosys: 0.37 -> 0.38
Also fix test issues on macOS.
2024-02-10 15:59:39 -06:00
Henner Zeller
4fba3d0fa5 yosys-synlig: fix compilation with Yosys 0.37
Discussed in
https://github.com/NixOS/nixpkgs/pull/281384

This is filed as upstream issue
https://github.com/chipsalliance/synlig/issues/2299

... and addressed in this pull request
https://github.com/chipsalliance/synlig/pull/2300

Patched into this nix package.

Co-authored-by: Luflosi <luflosi@luflosi.de>
2024-01-27 09:17:18 -08:00
Luflosi
46692a1507 yosys: 0.36 -> 0.37
https://github.com/YosysHQ/yosys/releases/tag/yosys-0.37

The change to the patch is needed to fix this error on macOS:
```
+ clang -std=c++11 -O2 -o cxxrtl-test-value -I../../backends/cxxrtl/runtime test_value.cc -lstdc++
test_value.cc:1:10: fatal error: 'cassert' file not found
         ^~~~~~~~~
1 error generated.
make: *** [Makefile:891: test] Error 1
```
2024-01-20 11:26:38 -06:00
Martin Povišer
1b72831944 yosys: propagate build inputs as need be for plugins 2023-12-10 11:41:14 -06:00
Luflosi
d23af28aa7 yosys: 0.35 -> 0.36
https://github.com/YosysHQ/yosys/releases/tag/yosys-0.36
2023-12-06 08:55:21 -06:00
Martin Povišer
e61cf890d6 yosys: make building with Python binding the default 2023-12-02 23:02:08 -06:00
Martin Povišer
e55ea6167f yosys: add option to build with Python binding 2023-12-02 23:02:08 -06:00
Henner Zeller
897387bb27 yosys-synlig: 2023-10-26 -> 2023-11-28 2023-11-29 13:18:33 -06:00
Luflosi
46478168d2 yosys: 0.34 -> 0.35
https://github.com/YosysHQ/yosys/releases/tag/yosys-0.35
2023-11-08 15:21:36 +01:00
Luflosi
e947b23190 yosys: use finalAttrs 2023-11-08 15:21:34 +01:00
Luflosi
e24783fe6f yosys: add Luflosi as maintainer 2023-11-08 15:21:33 +01:00
Henner Zeller
13687487b9 synlig: 2023.10.12 -> 2023-10-26 2023-10-27 07:36:13 -05:00
Henner Zeller
d3ae415ae2 yosys-synlig: init at 2023.10.12 2023-10-16 10:15:08 -05:00