Commit Graph

118 Commits

Author SHA1 Message Date
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
b5edded291 elastix: 5.1.0 -> 5.2.0 2024-08-14 01:43:11 -04:00
Emily
8504c28691 bicgl: replace mesa_glu with libGLU 2024-06-22 18:06:51 +01:00
Emily
8696744ce9 treewide: clean up uses of lib{GL,GLU,glut}.dev
These were now broken on Darwin; most of them were unnecessary,
but best practice for the remaining ones is to use `lib.getDev`.
2024-06-22 18:06:51 +01:00
Emily
fbda1dbfd6 treewide: replace freeglut with libglut
Allow the macOS GLUT framework to be used automatically in many
cases. Packages that specifically search for freeglut or require its
additional APIs should still explicitly depend on it.

Deliberately skip the Haskell package set, which is mostly
automatically generated, and mupdf, which has its own fork of freeglut.
2024-06-22 18:06:51 +01:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Raghav Sood
4b103239d7
bicpl: unstable-2023-01-19 -> unstable-2024-05-14 2024-05-14 11:58:50 +08:00
Raghav Sood
9ed8eec346
bicpl: unstable-2020-10-15 -> unstable-2023-01-19 2024-05-14 00:19:43 +08:00
Raghav Sood
d628cd42d2
bicpl: nixfmt-rfc-style 2024-05-14 00:18:00 +08:00
jopejoe1
4de5cc5aab bicpl: change license to hpndUc
found at https://github.com/BIC-MNI/bicpl/blob/master/COPYING
2024-03-20 20:49:33 +01:00
jopejoe1
a4fabce54b bicgl: change license to hpndUc
found at https://github.com/BIC-MNI/bicgl/blob/master/COPYING
2024-03-20 20:49:33 +01: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
a10cc936e1 mirtk: unbreak by setting -Wno-changes-meaning 2024-02-10 20:49:59 -05:00
R. Ryantm
bbe486a197 htslib: 1.19 -> 1.19.1 2024-01-24 06:28:46 +00:00
Weijia Wang
abb97f6022 ebtks: migrate to by-name, rename from EBTKS 2024-01-21 19:37:48 +01:00
R. Ryantm
b8e27e666d htslib: 1.18 -> 1.19 2023-12-26 11:04:36 +00:00
Weijia Wang
dd6728ca40 bppsuite: remove stdenv overrides 2023-12-10 02:24:15 +01:00
Ben Darwin
0db4dea3b9 mirtk: 2.0.0 -> unstable-2022-07-22 2023-09-18 12:45:56 -04:00
R. Ryantm
852288c32f htslib: 1.17 -> 1.18 2023-08-16 10:10:40 +00:00
Ben Darwin
9120f78e06 bppsuite: fix homepage
Old homepage is down, so point to GitHub instead.
2023-06-15 12:18:11 -04:00
Weijia Wang
a97ce4912b ciftilib: unpin boost16x 2023-06-06 13:15:00 +03:00
Bruno Bzeznik
e7c857571a htslib: 1.16 -> 1.17
Changelog: https://github.com/samtools/htslib/releases/tag/1.17
2023-04-12 12:00:02 +02:00
Sandro
c3e57afe6b
Merge pull request #192695 from bcdarwin/edlib-init
python310Packages.edlib: init at 1.3.9
2023-01-27 13:17:36 +01:00
Sandro
873acaa045
Merge pull request #210392 from bcdarwin/update-elastix 2023-01-27 12:53:35 +01:00
Ben Darwin
6a04042b5c elastix: 5.0.1 -> 5.1.0
Dropped `python3` dependency since it's only used to run some tests, but these error as the `itk` python package is not present (or indeed available in Nixpkgs)
2023-01-26 19:24:54 -05:00
Ben Darwin
9317002b85 edlib: init at unstable-2021-08-20 2023-01-26 11:16:38 -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
Weijia Wang
c777fbabdb EBTKS: fix build on aarch64-darwin 2022-11-07 15:12:18 +01:00
R. Ryantm
51064f5bff htslib: 1.15 -> 1.16 2022-08-28 17:50:54 +00:00
Ben Darwin
a821f7c91a ciftilib: init at 1.6.0 2022-07-29 20:15:56 -04:00
Josef Kemetmüller
bcd7045998 treewide: Remove now-unneeded LD_LIBRARY_PATH in cmake derivations
Since the setting DCMAKE_SKIP_BUILD_RPATH was disabled, we can now run
the checkPhase of cmake derivations without having to tweak the
LD_LIBRARY_PATH anymore.
2022-07-04 03:49:01 +03:00
Luis Pedro Coelho
967a5d7896 Static builds for HTSLIB
We need to disable curses support and replace the build and install
phases (otherwise, they expect that *.so files will be present).
2022-05-04 02:15:17 +02:00
R. Ryantm
01e0cb64c9 htslib: 1.14 -> 1.15 2022-02-26 07:12:00 +00:00
Justin Bedo
982010d219
htslib: 1.13 -> 1.14 2022-01-06 13:22:49 +11:00
flurie
b91f4d0097
bicgl: fix build for x86_64-darwin 2021-11-21 23:30:54 -05:00
Justin Bedo
292a1d6310
htslib: 1.11 -> 1.13 2021-10-12 10:17:32 +11:00
Ben Darwin
0d7ed306f1 elastix: update homepage 2021-10-05 17:01:42 -04:00
Frederik Rietdijk
dc04d776a3 mirtk: use python3 2021-07-27 20:42:00 +02:00
Felix Buehler
58a2d4b666 development: /s/name/pname&version/ 2021-07-02 00:03:10 +02:00
Pavol Rusnak
03518371af
oobicpl: unstable-2016-03-02 -> unstable-2020-08-12 2021-04-17 18:45:19 +02:00
Pavol Rusnak
bc7f4759ec
bicpl: unstable-2017-09-10 -> unstable-2020-10-15 2021-04-17 18:44:13 +02:00
Sandro Jäckel
3453b89f4b
lzma: deprecate alias 2021-04-04 19:49:52 +02:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
zowoq
31f5dd3f36 treewide: editorconfig fixes
- remove trailing whitespace
- use spaces for indentation
2021-01-20 09:11:11 +10:00
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Renato Alves
019fa5f608
htslib: 1.10.2 -> 1.11 (#100812) 2020-10-29 11:18:29 +01:00
Ben Darwin
e20652da9b elastix: 5.0.0 -> 5.0.1; unbreak OS X build 2020-10-17 11:36:31 -07:00
Lassulus
f849b13978
Merge pull request #98571 from bcdarwin/gifticlib
gifticlib: init at unstable-2020-07-07
2020-10-08 21:48:31 +02:00
Ben Darwin
44d854af30 bicgl: update LIBMINC_DIR due to libminc CMake changes 2020-10-06 15:31:19 -04:00