From cc1fb0558da8942e4c0ebe8f6ab3cd05a814fde7 Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Wed, 14 Jan 2026 18:30:44 +0100 Subject: [PATCH] gdcm: move to pkgs/by-name this shouldn't create any rebuilds --- ...dd-missing-losslylosslessarray-in-TestTransferSyntax.patch | 0 .../gd}/gdcm/fix-vtk-deprecated-api.patch | 0 .../gdcm/default.nix => by-name/gd/gdcm/package.nix} | 4 ++-- .../libraries => by-name/gd}/gdcm/python_gdcm.egg-info | 0 pkgs/top-level/all-packages.nix | 4 ---- 5 files changed, 2 insertions(+), 6 deletions(-) rename pkgs/{development/libraries => by-name/gd}/gdcm/add-missing-losslylosslessarray-in-TestTransferSyntax.patch (100%) rename pkgs/{development/libraries => by-name/gd}/gdcm/fix-vtk-deprecated-api.patch (100%) rename pkgs/{development/libraries/gdcm/default.nix => by-name/gd/gdcm/package.nix} (97%) rename pkgs/{development/libraries => by-name/gd}/gdcm/python_gdcm.egg-info (100%) diff --git a/pkgs/development/libraries/gdcm/add-missing-losslylosslessarray-in-TestTransferSyntax.patch b/pkgs/by-name/gd/gdcm/add-missing-losslylosslessarray-in-TestTransferSyntax.patch similarity index 100% rename from pkgs/development/libraries/gdcm/add-missing-losslylosslessarray-in-TestTransferSyntax.patch rename to pkgs/by-name/gd/gdcm/add-missing-losslylosslessarray-in-TestTransferSyntax.patch diff --git a/pkgs/development/libraries/gdcm/fix-vtk-deprecated-api.patch b/pkgs/by-name/gd/gdcm/fix-vtk-deprecated-api.patch similarity index 100% rename from pkgs/development/libraries/gdcm/fix-vtk-deprecated-api.patch rename to pkgs/by-name/gd/gdcm/fix-vtk-deprecated-api.patch diff --git a/pkgs/development/libraries/gdcm/default.nix b/pkgs/by-name/gd/gdcm/package.nix similarity index 97% rename from pkgs/development/libraries/gdcm/default.nix rename to pkgs/by-name/gd/gdcm/package.nix index ecd613650b38..e2241dfa9340 100644 --- a/pkgs/development/libraries/gdcm/default.nix +++ b/pkgs/by-name/gd/gdcm/package.nix @@ -6,7 +6,7 @@ cmake, enableVTK ? true, vtk, - DarwinTools, # sw_vers + darwin, # sw_vers enablePython ? false, python ? null, swig, @@ -61,7 +61,7 @@ stdenv.mkDerivation (finalAttrs: { cmake pkg-config ] - ++ lib.optional stdenv.hostPlatform.isDarwin DarwinTools; + ++ lib.optional stdenv.hostPlatform.isDarwin darwin.DarwinTools; buildInputs = [ expat diff --git a/pkgs/development/libraries/gdcm/python_gdcm.egg-info b/pkgs/by-name/gd/gdcm/python_gdcm.egg-info similarity index 100% rename from pkgs/development/libraries/gdcm/python_gdcm.egg-info rename to pkgs/by-name/gd/gdcm/python_gdcm.egg-info diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 426738d42c11..5257d93b3764 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6810,10 +6810,6 @@ with pkgs; useMinimalFeatures = true; }; - gdcm = callPackage ../development/libraries/gdcm { - inherit (darwin) DarwinTools; - }; - ghp-import = with python3Packages; toPythonApplication ghp-import; ghcid = haskellPackages.ghcid.bin;