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:
@@ -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;
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user