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
This commit is contained in:
BrockoliniMorgan
2026-07-22 20:27:18 +10:00
parent a2a9084d44
commit f448d919d7
2 changed files with 35 additions and 0 deletions
@@ -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;
};
})
+2
View File
@@ -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 { };