From 80af90c747bbbe2b3acf9165dcb69d21edbdf489 Mon Sep 17 00:00:00 2001 From: Jb <42501418+MachXNU@users.noreply.github.com> Date: Tue, 2 Jun 2026 13:34:02 +0200 Subject: [PATCH 1/2] maintainers: add mach --- maintainers/maintainer-list.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 923a945becb7..b1b7ffbaa15d 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -16531,6 +16531,11 @@ github = "Macbucheron1"; githubId = 95475157; }; + mach = { + name = "Mach"; + github = "MachXNU"; + githubId = 42501418; + }; macronova = { name = "Sicheng Pan"; email = "trivial@invariantspace.com"; From 5ab9958ecf49b262759ea42c2dee9126a82b42f4 Mon Sep 17 00:00:00 2001 From: Jb <42501418+MachXNU@users.noreply.github.com> Date: Tue, 2 Jun 2026 13:35:20 +0200 Subject: [PATCH 2/2] python3Packages.trsfile: init at 2.2.5 --- .../python-modules/trsfile/default.nix | 48 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 50 insertions(+) create mode 100644 pkgs/development/python-modules/trsfile/default.nix diff --git a/pkgs/development/python-modules/trsfile/default.nix b/pkgs/development/python-modules/trsfile/default.nix new file mode 100644 index 000000000000..ccfb61c7695b --- /dev/null +++ b/pkgs/development/python-modules/trsfile/default.nix @@ -0,0 +1,48 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + setuptools-scm, + numpy, + pytestCheckHook, +}: +buildPythonPackage rec { + pname = "trsfile"; + version = "2.2.5"; + + src = fetchFromGitHub { + owner = "Keysight"; + repo = "python-trsfile"; + rev = version; + hash = "sha256-mY4L1FFg2wDWAGVadOca7GDffA05O3v317SCqHxt4F0="; + }; + + pyproject = true; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + build-system = [ + setuptools + setuptools-scm + ]; + + dependencies = [ + numpy + ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "trsfile" + ]; + + meta = with lib; { + description = "Python library for reading/writing .trs files used by Riscure Inspector"; + homepage = "https://github.com/Keysight/python-trsfile"; + license = licenses.bsd3; + maintainers = with lib.maintainers; [ mach ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f4ff36be4137..46552f37ab59 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -20097,6 +20097,8 @@ self: super: with self; { trove-classifiers = callPackage ../development/python-modules/trove-classifiers { }; + trsfile = callPackage ../development/python-modules/trsfile { }; + trubar = callPackage ../development/python-modules/trubar { }; trueskill = callPackage ../development/python-modules/trueskill { };