python312Packages.typing-utils: init at 0.1.0
This commit is contained in:
parent
bb94f544b0
commit
5e1e35996b
34
pkgs/development/python-modules/typing-utils/default.nix
Normal file
34
pkgs/development/python-modules/typing-utils/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "typing-utils";
|
||||
version = "0.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bojiang";
|
||||
repo = "typing_utils";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-eXVGpe1wCH1JG+7ZP0evlxhw189GrrRzTwNDCALn3JI=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "typing_utils" ];
|
||||
|
||||
meta = {
|
||||
description = "Utils to inspect Python type annotations";
|
||||
homepage = "https://github.com/bojiang/typing_utils";
|
||||
changelog = "https://github.com/bojiang/typing_utils/releases/tag/${src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ wulpine ];
|
||||
};
|
||||
}
|
@ -18637,6 +18637,8 @@ self: super: with self; {
|
||||
|
||||
typing-inspection = callPackage ../development/python-modules/typing-inspection { };
|
||||
|
||||
typing-utils = callPackage ../development/python-modules/typing-utils { };
|
||||
|
||||
typing-validation = callPackage ../development/python-modules/typing-validation { };
|
||||
|
||||
typish = callPackage ../development/python-modules/typish { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user