Move formiko to pkgs/by-name and modernize its Python and GTK
packaging.
Changes:
- enable PEP 517 with `pyproject = true`
- add explicit `build-system = [ python3Packages.setuptools ]`
- switch to python3Packages.buildPythonApplication
- move pygobject3 to `dependencies`
- replace gtksourceview (GTKSourceView 3) with gtksourceview4
- use explicit python3Packages.* references
- replace deprecated sha256 with hash
- remove manual wiring from all-packages.nix
This brings formiko in line with current by-name, PEP 517, and GTK
packaging conventions.
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.
- gphoto2: migrate to `pkgs/by-name/gp/gphoto2/package.nix`
• switch to `stdenv.mkDerivation (finalAttrs: { ... })`
• use `tag`/`hash` instead of `rev`/`sha256`
• drop `with lib;` in meta, qualify licenses/platforms/maintainers
- gphoto2fs: migrate to `pkgs/by-name/gp/gphoto2fs/package.nix`
• switch to `stdenv.mkDerivation (finalAttrs: { ... })`
• update to `hash` form
• drop `with lib;` in meta, qualify licenses/platforms/maintainers
- all-packages.nix: remove old `callPackage` entries