Commit Graph

78 Commits

Author SHA1 Message Date
TomaSajt
7f546b4208 treewide: replace misuses of lib.optional{,s} with lib.optionalString 2026-08-08 03:28:48 +02:00
Ben Darwin
287c0e276c itk: 5.4.5 -> 5.4.6 2026-05-04 16:00:41 -04:00
quantenzitrone
55280fa564 various: rename references from libX11 to libx11
this shouldn't create any rebuilds
2026-02-06 00:24:34 +01:00
Guilhem Saurel
ec84470623 itk: fix build with gcc 15 2026-01-19 21:12:15 +01:00
Ben Darwin
acaf5df47c itk: 5.4.4 -> 5.4.5 2025-12-02 23:57:09 -05:00
Rafael Ieda
44b2a98a25 itk_5_2: fix build with cmake4 2025-11-03 20:26:25 -03:00
Yohann Boniface
8282ff358d itk: 5.4.3 -> 5.4.4 (#421257) 2025-08-24 07:02:19 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Ben Darwin
4bca195d0d itk: 5.4.3 -> 5.4.4 2025-06-30 09:55:29 -04:00
nixpkgs-ci[bot]
94a9466a41 Merge master into staging-next 2025-05-05 00:17:30 +00:00
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
Ben Darwin
6182f558c8 itk: 5.4.2 -> 5.4.3 2025-04-05 12:06:44 -04:00
Peder Bergebakken Sundt
1943c6aca7 itk: 5.4.1 -> 5.4.2 (#372842) 2025-02-17 02:51:51 +01:00
misuzu
fef1053723 itk: fix contradictory ITK_USE_SYSTEM_EIGEN cmake flags (#367173) 2025-02-05 22:03:09 +02:00
Ben Darwin
c262d2ca8d itk: 5.4.1 -> 5.4.2 2025-01-11 00:03:23 -05:00
misuzu
1a46589e82 {itk_5_2, python312Packages.itk}: unbreak by disabling RTK cmake module (#366994) 2025-01-02 11:32:11 +02:00
misuzu
78b9d76398 itk: 5.4.0 -> 5.4.1 (#367172) 2025-01-01 14:36:59 +02:00
Ben Darwin
f0cae1e3c6 itk: fix contradictory ITK_USE_SYSTEM_EIGEN cmake flags 2024-12-21 13:03:44 -05:00
Ben Darwin
4083d72192 itk: 5.4.0 -> 5.4.1 2024-12-21 12:36:22 -05:00
Ben Darwin
42df0b494b {itk_5_2, python312Packages.itk}: unbreak by disabling RTK cmake module 2024-12-20 22:21:09 -05:00
K900
a7e86ba134 Merge remote-tracking branch 'origin/master' into staging-next 2024-12-13 15:35:01 +03:00
Emily
92086b19c6 itk{,_5_2}: use SWIG 4.3.0 2024-11-19 15:02:53 +00:00
purepani
ad6f3fbe3b itk: Adds RTK remote crate 2024-11-01 19:01:08 -05: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
Ben Darwin
99ef3d51e8 itk: unvendor eigen 2024-09-13 01:40:52 -04:00
Ben Darwin
06fc8aa4dc python312Packages.itk: init at 5.4.0 2024-09-12 17:50:35 -04:00
Ben Darwin
b4b818370c itk: apply nixfmt 2024-08-20 22:01:50 -04:00
Ben Darwin
c3eede953f itk: add myself as maintainer 2024-08-20 22:00:59 -04:00
Ben Darwin
c73d65ff10 itk: remove spurious mainProgram 2024-08-20 21:40:57 -04:00
Anderson Torres
9a624d10e3 treewide: remove viric from meta.maintainers [orphans]
Since theey is not active from at least six years.

All the packages on this commit became orphans.

---------------------------------------------------------------------------
There are files not covered by this commit, because they will be adopted
soon. Namely:

- pkgs/by-name/zs/zsync/package.nix
- pkgs/games/bsdgames/default.nix
- pkgs/misc/ghostscript/default.nix
- pkgs/os-specific/linux/kernel/perf/default.nix
- pkgs/tools/system/logrotate/default.nix
2024-07-28 11:48:51 -03:00
Ben Darwin
1a40f8e76f itk: 5.3.0 -> 5.4.0 2024-05-23 22:30:26 -04:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Ben Darwin
ed36e5cc8c itk: patch to unbreak with GCC13 2024-01-19 04:03:45 +01:00
Ben Darwin
0e169cf0cc itk: unvendor some of the dependencies
Unvendored GDCM, MINC, and several common libraries (under the omnibus
but incomplete ITK_USE_SYSTEM_LIBRARIES).
We didn't unvendor Eigen, Gtest, or VXL due to downstream compilation errors,
but at least the first two of these are less of a security risk.
Some other libraries such as NIfTI, GIfTI, etc., seemingly can't be
unvendored via ITK_USE_SYSTEM_<...>, and others such as TBB aren't
enabled by default.
2023-11-15 10:04:54 -05:00
Ben Darwin
39fb426da5 itk: enable SimpleITKFilters; minor refactor
This is needed for the SimpleITK Python package to import successfully
rather than throw an error due to missing symbols.
2023-03-24 14:20:12 -04:00
Ben Darwin
08975fa8f3 itk: unpin vtk dependency 2023-01-27 00:21:21 -05:00
Ben Darwin
4095b8232c vtk, vtkWithQt5: bump from vtk_8 to vtk_9 2023-01-24 12:33:48 -05:00
Ben Darwin
9c748218f2 itk: unstable -> 5.3.0 2022-12-27 09:06:37 +01:00
Ben Darwin
671b701d28 itk4: remove 2022-09-04 13:36:24 -04:00
Ben Darwin
fba5226376 itk-unstable: init at 2022-07-02 2022-09-04 13:36:19 -04:00
Ben Darwin
6d4c3b07c2 itk: enable additional modules
Enable MGHIO, GenericLabelInterpolator, and AdaptiveDenoising ITK modules,
which are required by current versions of ANTs (e.g. 2.3.5 and 2.4.0);
see, e.g., https://github.com/ANTsX/ANTs/issues/1353#issuecomment-1117462739,
the Gentoo ANTs package, or the ANTs SuperBuild itself.
Updating ANTs will, in particular, allow removal of itk4 and vtk_7 from Nixpkgs.
Unfortunately, these ANTs releases do not build against the version of ITK (5.2.1)
current in tree, so we need to either add another ITK 5.x version or wait until ITK
is bumped to 5.3.x (currently still in beta) in Nixpkgs.
2022-08-14 23:32:17 -04:00
Ben Darwin
a1f5a39683 itk: vtk_7 -> vtk 2021-11-03 15:16:40 -04:00
Ben Darwin
34554e03e8 itk: 5.2.0 -> 5.2.1 2021-08-18 09:58:00 -04:00
Ben Darwin
0bd3af3778 itk: 5.1.2 -> 5.2.0 2021-05-28 12:17:01 -04:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Ben Darwin
0fd1192132 itk: 5.1.1 -> 5.1.2 (#107502) 2021-01-01 12:59:14 -05:00
Ben Darwin
83a1ce3d2b itk: remove -march=corei7 and -mtune=native flags from cmake build files
- probable cause of build failure on Hydra on branch release-20.09
2020-10-15 19:12:21 -04:00
Ben Darwin
fcf08a93fc itk: 5.1.0 -> 5.1.1 2020-08-31 19:26:45 -04:00