From 34ac76d6ea04d716b628c04356c75c947e919faf Mon Sep 17 00:00:00 2001 From: sgomezsal Date: Mon, 16 Feb 2026 15:25:41 -0500 Subject: [PATCH 1/2] maintainers: add sgomezsal --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 71ca3bf93feb..db9bd70e5279 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -24237,6 +24237,12 @@ githubId = 75371; name = "Stig Palmquist"; }; + sgomezsal = { + email = "contact@sgomezsal.com"; + github = "sgomezsal"; + githubId = 79657820; + name = "Santiago Gomez"; + }; sgraf = { email = "sgraf1337@gmail.com"; github = "sgraf812"; From 9727939258f4912d64e0c50a579c2721a07435d9 Mon Sep 17 00:00:00 2001 From: sgomezsal Date: Mon, 16 Feb 2026 15:25:50 -0500 Subject: [PATCH 2/2] python312Packages.tcia-utils: init at 3.2.1 --- .../python-modules/tcia-utils/default.nix | 54 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 56 insertions(+) create mode 100644 pkgs/development/python-modules/tcia-utils/default.nix diff --git a/pkgs/development/python-modules/tcia-utils/default.nix b/pkgs/development/python-modules/tcia-utils/default.nix new file mode 100644 index 000000000000..71ee5c7821de --- /dev/null +++ b/pkgs/development/python-modules/tcia-utils/default.nix @@ -0,0 +1,54 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + beautifulsoup4, + ipython, + pandas, + plotly, + requests, + tqdm, + unidecode, + hatchling, +}: + +buildPythonPackage (finalAttrs: { + pname = "tcia-utils"; + version = "3.2.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "kirbyju"; + repo = "tcia_utils"; + rev = "9ff8a409df9daaa3f9bc28f0a951d7f6fcb90160"; # Corresponds to v3.2.1 + hash = "sha256-IW6rxlmRj7RW3hM7aZR+BuqboDzp+2R2ObGwAhOxMPM="; + }; + + build-system = [ + hatchling + ]; + + dependencies = [ + beautifulsoup4 + ipython + pandas + plotly + requests + tqdm + unidecode + ]; + + pythonRemoveDeps = [ "bs4" ]; + + # Tests require network access to TCIA API and specific credentials + doCheck = false; + + pythonImportsCheck = [ "tcia_utils" ]; + + meta = { + description = "Python utilities for interacting with The Cancer Imaging Archive (TCIA)"; + homepage = "https://github.com/kirbyju/tcia_utils"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ sgomezsal ]; + }; +}) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9a84b34e2e7a..82735b19d6f5 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -18697,6 +18697,8 @@ self: super: with self; { tccbox = callPackage ../development/python-modules/tccbox { }; + tcia-utils = callPackage ../development/python-modules/tcia-utils { }; + tcolorpy = callPackage ../development/python-modules/tcolorpy { }; tcxfile = callPackage ../development/python-modules/tcxfile { };