Commit Graph

23 Commits

Author SHA1 Message Date
SandaruKasa
b393a9f05e ieda: enableParallelBuilding & __structuredAttrs 2026-06-16 01:18:44 +03:00
Emin
3fa2d13d0a ieda: fix build with boost 1.89
Signed-off-by: Emin <me@emin.chat>
2026-03-16 10:55:34 +08:00
R. Ryantm
41740de2cd ieda: 0.1.0-unstable-2025-12-16 -> 0.1.0-unstable-2025-12-23 2026-02-17 04:46:11 +00:00
Marcin Serwin
5460a3f345 ieda: add update script for r-ryantm (#475512) 2026-02-14 23:11:23 +00:00
quantenzitrone
18dc8a95fb various: switch buildPythonApplication packages to use finalAttrs
this shouldn't create any rebuilds

the following script was used to generate this:
```fish
#!/usr/bin/env fish

# nix shell .#nixfmt nixpkgs#{nixf-diagnose,ripgrep,sd}

set base (git rev-parse HEAD)

set scope pkgs/by-name
set builder buildPythonApplication

set files (rg --files-with-matches -F "$builder rec {" $scope | sort -u)

for file in $files
    echo $file
    sd -F "$builder rec {" "$builder (finalAttrs: {" $file
    # version
    sd -F 'version}' 'finalAttrs.version}' $file
    sd -F '${version' '${finalAttrs.version' $file
    sd -F '= version' '= finalAttrs.version' $file
    sd -F 'inherit version;' 'inherit (finalAttrs) version;' $file
    sd -F ' + version;' ' + finalAttrs.version;' $file
    sd 'replaceStrings (.*) version' 'replaceStrings $1 finalAttrs.version' $file
    sd -F 'splitVersion version' 'splitVersion finalAttrs.version' $file
    sd -F 'versionAtLeast version' 'versionAtLeast finalAttrs.version' $file
    sd 'versions\.([a-z]+) version' 'versions.$1 finalAttrs.version' $file
    # src
    sd -F 'src}' 'finalAttrs.src}' $file
    sd -F '${src' '${finalAttrs.src' $file
    sd -F '= src' '= finalAttrs.src' $file
    sd -F 'inherit src;' 'inherit (finalAttrs) src;' $file
    sd -F 'inherit (src' 'inherit (finalAttrs.src' $file
    # meta
    sd -F '${meta' '${finalAttrs.meta' $file
    sd -F '= meta' '= finalAttrs.meta' $file
    sd -F 'inherit (meta' 'inherit (finalAttrs.meta' $file
    # pname (restored afterwards)
    sd -F 'pname}' 'finalAttrs.pname}' $file
    sd -F '${pname' '${finalAttrs.pname' $file
    sd -F '= pname' '= finalAttrs.pname' $file
    # combinations
    sd -F 'inherit version src;' 'inherit (finalAttrs) version src;' $file
    sd -F 'inherit src version;' 'inherit (finalAttrs) src version;' $file
    sd -F 'inherit version pname;' 'inherit (finalAttrs) version pname;' $file
    sd -F 'inherit pname version;' 'inherit (finalAttrs) pname version;' $file
    sd -F 'inherit pname src version;' 'inherit (finalAttrs) pname src version;' $file
    sd -F 'inherit pname version src;' 'inherit (finalAttrs) pname version src;' $file
    sd -F 'inherit src pname version;' 'inherit (finalAttrs) src pname version;' $file
    sd -F 'inherit src version pname;' 'inherit (finalAttrs) src version pname;' $file
    sd -F 'inherit version pname src;' 'inherit (finalAttrs) version pname src;' $file
    sd -F 'inherit version src pname;' 'inherit (finalAttrs) version src pname;' $file
    # other
    sd -F 'makeLibraryPath buildInputs' 'makeLibraryPath finalAttrs.buildInputs' $file
    sd -F 'nativeBuildInputs}' 'finalAttrs.nativeBuildInputs}' $file
    sd -F 'buildInputs}' 'finalAttrs.buildInputs}' $file
    sd -F 'propagatedBuildInputs}' 'finalAttrs.propagatedBuildInputs}' $file
    sd -F 'desktopItem}' 'finalAttrs.desktopItem}' $file
    sd -F 'runtimeLibs}' 'finalAttrs.runtimeLibs}' $file
    sd -F 'makePythonPath dependencies' 'makePythonPath finalAttrs.dependencies' $file
    sd -F 'makePythonPath propagatedBuildInputs' 'makePythonPath finalAttrs.propagatedBuildInputs' $file
    sd -F 'libPath}' 'finalAttrs.libPath}' $file
    sd -F 'runtimeDependencies}' 'finalAttrs.runtimeDependencies}' $file
    sd -F 'runtimeDeps}' 'finalAttrs.runtimeDeps}' $file
    sd -F 'nativeRuntimeInputs}' 'finalAttrs.nativeRuntimeInputs}' $file
    sd -F '(!doCheck)' '(!finalAttrs.doCheck)' $file
    sd -F 'optional doCheck' 'optional finalAttrs.doCheck' $file
    sd -F 'optionals doCheck' 'optionals finalAttrs.doCheck' $file
    sd -F '++ runtimeDependencies' '++ finalAttrs.runtimeDependencies' $file
    # close finalAttrs lambda
    echo ')' >>$file
    # catch some errors early
    if ! nixfmt $file
        git restore $file
        continue
    end
    if ! nixf-diagnose -i sema-primop-overridden $file
        git restore $file
        continue
    end
end

set torestore (rg -F .finalAttrs --files-with-matches $scope)
if test (count $torestore) -gt 0
    git restore $torestore
end
set torestore (rg -F finalAttrs.pname --files-with-matches $scope)
if test (count $torestore) -gt 0
    git restore $torestore
end

# commit for faster eval times
git add pkgs
git commit --no-gpg-sign -m temp
set torestore

for file in $files
    # file hasn't changed
    if git diff --quiet $base $file
        continue
    end
    # try to eval the package to definitely catch all errors
    echo $file
    set pname (string split / $file -f 4)
    if ! nix eval .#$pname
        set torestore $torestore $file
    end
end

# restore files that don't eval
git reset --soft $base
git restore --staged .
if test (count $torestore) -gt 0
    git restore $torestore
end
```

after that some manual cleanup was done:
- restoring files that cause changes in the number of lines
- restoring files that cause rebuilds
- restoring files that cause merge conflicts with staging
2026-02-07 10:06:06 +01:00
Sigmanificient
62f1f525d2 ietf-cli: set pname 2026-02-01 01:46:36 +01:00
Emin
1d250dd18c ieda: add update script for r-ryantm
Signed-off-by: Emin <me@emin.chat>
2026-01-05 10:39:02 +08:00
Emin
c3baf445c1 ieda: 0.1.0-unstable-2025-11-08 -> 0.1.0-unstable-2025-12-16
Signed-off-by: Emin <me@emin.chat>
2025-12-25 09:50:20 +08:00
Emin
0bd377e14a ieda: 0.1.0-unstable-2025-09-10 -> 0.1.0-unstable-2025-11-08
Signed-off-by: Emin <me@emin.chat>
2025-11-15 23:21:19 +08:00
Qiming Chu
6016da54d8 ieda: 0-unstable-2025-06-30 -> 0.1.0-unstable-2025-09-10
- iEDA released v0.1.0 at 2025-07-02:
https://gitee.com/oscc-project/iEDA/releases/tag/v0.1.0
- Remove postPatch to patches and update patches
- Add pkg-config, curl and tbb_2021 as dependencies

Signed-off-by: Qiming Chu <cchuqiming@gmail.com>
2025-10-24 01:08:18 +08:00
Aleksana
1f024b4312 ieda: 0-unstable-2025-05-30 -> 0-unstable-2025-06-30 (#420986) 2025-08-01 23:37:53 +08:00
TomaSajt
398b16e16c treewide: remove useFetchCargoVendor usages 2025-07-26 11:39:35 +02:00
Qiming Chu
bbb383e659 ieda: 0-unstable-2025-05-30 -> 0-unstable-2025-06-30
Signed-off-by: Qiming Chu <cchuqiming@gmail.com>
2025-06-30 11:08:50 +08:00
Qiming Chu
3d47a13894 ieda: 0-unstable-2025-04-14 -> 0-unstable-2025-05-30
Signed-off-by: Qiming Chu <cchuqiming@gmail.com>
2025-05-31 17:39:48 +08:00
Qiming Chu
036f056b31 ieda: 0-unstable-2025-03-12 -> 0-unstable-2025-04-14
Signed-off-by: Qiming Chu <cchuqiming@gmail.com>
2025-05-03 11:16:28 +08: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
Qiming Chu
6874760970 ieda: 0-unstable-2024-10-11 -> 0-unstable-2025-03-12
Signed-off-by: Qiming Chu <cchuqiming@gmail.com>
2025-03-13 14:24:12 +08:00
Qiming Chu
76fee26607 maintainers: add Emin017
Signed-off-by: Qiming Chu <cchuqiming@gmail.com>
2025-03-12 20:58:19 +08:00
R. Ryantm
9edba675ac ietf-cli: 1.27 -> 1.29 2025-01-31 21:06:51 +00:00
Alyssa Ross
358b3d9967 ieda: useFetchCargoVendor
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.
2025-01-30 11:08:29 +01:00
lilly
f96f1bc474 ietf-cli: init at v1.27
Command-line interface for accessing IETF documents and other information
via a local offline copy.
2024-12-25 15:57:24 +01:00
xinyangli
f286fa7947 ieda: init at 0-unstable-2024-10-11 2024-12-06 14:33:15 +08:00