python312Packages.typing-validation: init at 1.2.11

This commit is contained in:
Radik Islamov 2024-03-26 16:01:30 +05:00
parent dd2b7d9ac3
commit 11d1c33c86
No known key found for this signature in database
GPG Key ID: D0B0CBDAF7A902DC
2 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,58 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools
, setuptools-scm
, wheel
, numpy
, typing-extensions
}:
buildPythonPackage rec {
pname = "typing-validation";
version = "1.2.11";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "hashberg-io";
repo = "typing-validation";
rev = "refs/tags/v${version}";
hash = "sha256-0scXoAPkx/VBIbNRMtFoRRbmGpC2RzNRmQG4mRXSxrs=";
};
build-system = [
setuptools
setuptools-scm
wheel
];
dependencies = [
typing-extensions
];
nativeCheckInputs = [
pytestCheckHook
numpy
];
pythonImportsCheck = [
"typing_validation"
];
meta = with lib; {
description = "A simple library for runtime type-checking";
homepage = "https://github.com/hashberg-io/typing-validation";
changelog = "https://github.com/hashberg-io/typing-validation/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ vizid ];
};
}

View File

@ -16013,6 +16013,8 @@ self: super: with self; {
typing-inspect = callPackage ../development/python-modules/typing-inspect { };
typing-validation = callPackage ../development/python-modules/typing-validation { };
typish = callPackage ../development/python-modules/typish { };
typogrify = callPackage ../development/python-modules/typogrify { };