Commit Graph

113 Commits

Author SHA1 Message Date
Johan Herland
2c27e0e3ae hdrhistogram_c: fix pkgsStatic build
pkgsStatic uses a fully static musl toolchain (crtbeginT.o) which cannot
link shared objects. The upstream CMakeLists uses its own
HDR_HISTOGRAM_BUILD_SHARED option (not BUILD_SHARED_LIBS) to build both
libraries unconditionally, causing a linker failure.

Disable shared library and programs builds for static targets. Add a
postInstall symlink libhdr_histogram.a -> libhdr_histogram_static.a so
that the installed pkg-config file (-lhdr_histogram) resolves correctly.

Fixes: https://github.com/NixOS/nixpkgs/issues/549561
Assisted-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-10 10:17:11 +00:00
K900
b8849050c9 hdrhistogram_c: unconditionalize patch 2026-07-17 20:31:33 +03:00
K900
824fee2a9a hdrhistogram_c: apply patch (conditionally) to fix build on i686 2026-07-17 15:52:19 +03:00
nixpkgs-ci[bot]
bed497736d Merge staging-next into staging 2026-07-11 00:31:12 +00:00
Martin Weinelt
8fe06cd8ba Reapply "hdrhistogram_c: 0.11.9 -> 0.11.10"
This reverts commit 3347d985f2.

Reverted on master due to being a mass-rebuild and now reapplied on
staging.
2026-07-09 21:53:37 +02:00
whispers
3347d985f2 Revert "hdrhistogram_c: 0.11.9 -> 0.11.10" 2026-07-09 15:23:19 -04:00
R. Ryantm
f32f3eb94e hddfancontrol: 2.1.1 -> 2.1.2 2026-07-09 01:25:08 +00:00
R. Ryantm
3c61d515c7 hdrhistogram_c: 0.11.9 -> 0.11.10 2026-07-03 02:14:29 +00:00
Jade Wilk
15a909e8d7 maintainers: add jade 2026-06-03 18:37:15 +01:00
Benjamin Staffin
f476a496f8 hddfancontrol: add meta.platforms
This has no chance of working on non-linux systems
2026-05-18 13:57:01 -04:00
Benjamin Staffin
b548f470fa hddfancontrol: 2.0.6 -> 2.1.1 (#520578) 2026-05-18 17:47:29 +00:00
Thomas Butter
90738f672c hddfancontrol: 2.0.6 -> 2.1.1 2026-05-15 19:39:28 +00:00
Ryan Burns
a0761bdacb hdf4: move libhdf4.settings to dev output
This avoids a reference to gcc-wrapper in the lib closure, significantly
reducing closure size for downstream dependers.

As far as I can tell, this file is only used by `h4cc -showconfig`,
which was already not working as it has been checking the bin output.
It's possible to fix that, but I'd prefer to just focus on the closure
size reduction here since the h4cc path is a preexisting issue.

Closure size of hdf4.out goes from 374 MB -> 40 MB
2026-05-06 19:42:04 -07:00
John Titor
9a50ac9b9d hdr10plus_tool: 1.7.1 -> 1.7.2 2026-02-28 20:27:31 +05:30
Nick Cao
ed24738860 hdrop: 0.7.8 -> 0.7.9 (#490736) 2026-02-16 22:35:51 +00:00
Schweber
048fa6da97 hdrop: 0.7.8 -> 0.7.9 2026-02-16 00:25:45 +08:00
Stefan Frijters
8ec2689172 hdfview: move env variable(s) into env for structuredAttrs 2026-02-13 12:01:09 +01:00
quantenzitrone
9380e05c3c various: switch buildGoModule 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 buildGoModule

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
    # other
    sd -F 'inherit version src;' 'inherit (finalAttrs) version src;' $file
    sd -F 'inherit src version;' 'inherit (finalAttrs) src version;' $file
    sd -F 'makeLibraryPath buildInputs' 'makeLibraryPath finalAttrs.buildInputs' $file
    sd -F 'buildInputs}' 'finalAttrs.buildInputs}' $file
    sd -F 'desktopItem}' 'finalAttrs.desktopItem}' $file
    sd -F 'runtimeLibs}' 'finalAttrs.runtimeLibs}' $file
    sd -F 'libPath}' 'finalAttrs.libPath}' $file
    sd -F 'runtimeDependencies}' 'finalAttrs.runtimeDependencies}' $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
    # pname (restored afterwards)
    sd -F 'pname}' 'finalAttrs.pname}' $file
    sd -F '${pname' '${finalAttrs.pname' $file
    sd -F '= pname' '= finalAttrs.pname' $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 09:28:59 +01:00
Antoine du Hamel
21923a7c92 hdrhistogram_c: improve pkg-config integration (#477290) 2026-02-02 08:54:05 +00:00
Antoine du Hamel
2935fc2454 hdrhistogram_c: improve pkg-config integration 2026-01-30 23:22:21 +01:00
quantenzitrone
6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00
lassulus
fc1517ff7c hdapsd: 20141203 -> 20250908
Update to the latest upstream release, which includes the fix for building
with modern GCC that treats implicit function declarations as errors.

Changes:
- Updated version from 20141203 to 20250908
- Switched source URL from evgeni/hdapsd to linux-thinkpad/hdapsd (repo moved)
- Removed fix-usage-call.patch (fix included upstream)
- Added pkg-config to nativeBuildInputs (now required)
- Updated homepage to new GitHub repository
2026-01-18 14:40:54 +01:00
R. Ryantm
cc44b90e0b hd-idle: 1.21 -> 1.22 2026-01-10 12:28:46 +00: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
Wolfgang Walther
de7ce5a925 maintainers: drop bhipple
Reacted to 1 out of 57 maintainer pings in the least 180 days.
2025-12-09 21:05:55 +01:00
Thomas Gerbet
1c953094bb treewide: fix inappropriate usage of rust.envVars.setEnv (#430368) 2025-11-09 16:20:32 +00:00
R. Ryantm
3692ce0437 hddfancontrol: 2.0.5 -> 2.0.6 2025-11-03 06:06:00 +00:00
Robert Scott
dc991ca8f3 hdf5-blosc: fix build with cmake4 (#454196) 2025-11-01 15:28:33 +00:00
Rafael Ieda
4b0ac4b4f1 hdf5-blosc: fix build with cmake4 2025-10-21 09:59:23 -03:00
Xinyang Li
ae05b5dbc7 hdrmerge: 0.5.0-unstable-2024-08-02 -> 0.5.0-unstable-2025-04-26 2025-10-17 23:11:50 +03:00
Wolfgang Walther
c283f32d29 treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00
R. Ryantm
777dc35862 hdrhistogram_c: 0.11.8 -> 0.11.9 2025-09-05 16:41:26 +00:00
Wolfgang Walther
f09f724ef8 maintainers: drop ehmry
This user is blocked since May 2025, thus can't maintain any packages
anymore.
2025-08-31 16:53:44 +02:00
nixpkgs-ci[bot]
53fe08332e Merge master into staging-next 2025-08-21 20:43:13 +00:00
R. Ryantm
f85a4867bb hddfancontrol: 2.0.4 -> 2.0.5 2025-08-21 02:07:56 +00:00
nixpkgs-ci[bot]
f05b1e8372 Merge staging-next into staging 2025-08-07 06:07:51 +00:00
Yohann Boniface
f891d5c115 hdrhistogram_c: init at 0.11.8 (#419828) 2025-08-07 04:55:32 +02:00
Alois Wohlschlager
027419d257 treewide: fix inappropriate usage of rust.envVars.setEnv
It was designed for the Cargo build hook, which goes into `nativeBuildInputs`.
Direct usage leads to an incorrect platform offset, which can for example be
observed by the package `pkgsStatic.buildPackages` differing from the native
one due to accidentally receiving the wrong environment variables. Fix the
issue by using `buildPackages` as `nativeBuildInputs` would.
2025-08-02 14:57:49 +02:00
nixpkgs-ci[bot]
c0dd2454fa Merge staging-next into staging 2025-08-01 00:21:45 +00:00
R. Ryantm
fe3e473249 hddfancontrol: 2.0.3 -> 2.0.4 2025-07-30 12:42:36 +00:00
nixpkgs-ci[bot]
115bfaf701 Merge staging-next into staging 2025-07-27 18:05:46 +00:00
mivorasu
3c0ff7e40f treewide: add preConfigure and postConfigure for
configurePhase
2025-07-27 12:21:19 +00:00
K900
e51da7d14e Merge remote-tracking branch 'origin/staging-next' into staging 2025-07-26 15:14:30 +03:00
TomaSajt
398b16e16c treewide: remove useFetchCargoVendor usages 2025-07-26 11:39:35 +02:00
Wolfgang Walther
90604d95bc Merge branch 'staging-next' into staging 2025-07-24 14:33:09 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
nixpkgs-ci[bot]
d1b01f0d74 Merge staging-next into staging 2025-07-23 00:19:01 +00:00
mivorasu
1e377fedf7 treewide: strip trailing punctuation from description strings 2025-07-22 19:09:42 +00:00
John Titor
2cdbaee7c1 hdr10plus: add comments back
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-07-19 21:35:05 +05:30
John Titor
8acee0c6a9 Revert "hdr10plus: decouple the src from hdr10plus_tool"
This reverts commit 7f75ff0da259ffaa91c2864bbcdbcdc08cef5663.\

This is no longer needed as staging has cargo-c 0.10.14.
The workaround was for https://github.com/NixOS/nixpkgs/pull/426181#issuecomment-3092161469
2025-07-19 21:35:05 +05:30