From a2a9084d4497f0c4d00306b9e8f4e9cb069b32bc Mon Sep 17 00:00:00 2001 From: BrockoliniMorgan Date: Sat, 25 Apr 2026 23:49:20 +1000 Subject: [PATCH 1/2] maintainers: add BrockoliniMorgan --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 37e51bb1f40f..aed6da3799c5 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -4186,6 +4186,12 @@ github = "brittonr"; githubId = 4730485; }; + BrockoliniMorgan = { + name = "Brock Morgan"; + email = "brockjamesmorgan@gmail.com"; + github = "BrockoliniMorgan"; + githubId = 166275321; + }; brodes = { email = "me@brod.es"; github = "brhoades"; From f448d919d745490ce942dea9f94f6030ca8b41f9 Mon Sep 17 00:00:00 2001 From: BrockoliniMorgan Date: Sat, 25 Apr 2026 23:47:21 +1000 Subject: [PATCH 2/2] python3Packages.runtype: init at version 0.5.3 Motivation for change: I needed to use runtype as a dependency for another package and noticed it wasn't in nixpkgs. Runtype is a python module containing utilities for run-time type validation and multiple dispatch. Release notes: https://github.com/erezsh/runtype/releases/tag/0.5.3 --- .../python-modules/runtype/default.nix | 33 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/development/python-modules/runtype/default.nix diff --git a/pkgs/development/python-modules/runtype/default.nix b/pkgs/development/python-modules/runtype/default.nix new file mode 100644 index 000000000000..51299dde3c44 --- /dev/null +++ b/pkgs/development/python-modules/runtype/default.nix @@ -0,0 +1,33 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + poetry-core, +}: +buildPythonPackage (finalAttrs: { + name = "runtype"; + version = "0.5.3"; + + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "erezsh"; + repo = "runtype"; + tag = finalAttrs.version; + hash = "sha256-HGYQsunqewuxmdj9kaRZDZxUOf6hRqBySCq4bdxQ3v4="; + }; + + pyproject = true; + build-system = [ + poetry-core + ]; + + pythonImportsCheck = [ "runtype" ]; + + meta = { + description = "Utilities for run-time type validation and multiple dispatch"; + homepage = "https://github.com/erezsh/runtype"; + maintainers = with lib.maintainers; [ BrockoliniMorgan ]; + license = lib.licenses.mit; + }; +}) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 3f0451578dbf..59611c41a313 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -18016,6 +18016,8 @@ self: super: with self; { runstats = callPackage ../development/python-modules/runstats { }; + runtype = callPackage ../development/python-modules/runtype { }; + russound = callPackage ../development/python-modules/russound { }; rustworkx = callPackage ../development/python-modules/rustworkx { };