Files
Guy ChronisterandWeijia Wang 397ffc81e6 gnuplot: migrate to by-name, switch to finalAttrs, and remove Qt-specific mkDerivation
This refactor performs a mechanical migration of gnuplot to the by-name
layout and updates the derivation to the modern finalAttrs style.

Key changes:

* Move gnuplot from pkgs/tools/graphics/gnuplot/ to pkgs/by-name/gn/gnuplot/
  and rename set-gdfontpath-from-fontconfig.sh accordingly.

* Replace the old `rec { ... }` form with `stdenv.mkDerivation (finalAttrs: { ... })`
  following current Nixpkgs conventions.

* Remove the unused mkDerivation argument and stop switching the derivation
  function based on `withQt`. gnuplot does not require libsForQt5.mkDerivation;
  Qt support is handled entirely through inputs and configure flags.

* Replace qttools/qtbase/qtsvg with libsForQt5.qttools/qtbase/qtsvg when
  `withQt = true`.

* Convert `${pname}-${version}` to `${finalAttrs.version}` and update
  `sha256` → `hash`.

* Add by-name variants gnuplot_qt and gnuplot_aquaterm using override
  wrappers.

* Remove the old top-level aliases for gnuplot, gnuplot_qt, and
  gnuplot_aquaterm from all-packages.nix; by-name exposure now handles them.

This change is purely structural and does not modify gnuplot’s build
behaviour beyond adopting the standard finalAttrs pattern.
2026-04-13 23:00:03 +02:00

8 lines
57 B
Nix

{
gnuplot,
}:
gnuplot.override {
aquaterm = true;
}