blob: c04c80bb2f8b47874188b692d18cfad417026291 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "annotated-types";
version = "0.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "annotated-types";
repo = "annotated-types";
tag = "v${version}";
hash = "sha256-I1SPUKq2WIwEX5JmS3HrJvrpNrKDu30RWkBRDFE+k9A=";
};
nativeBuildInputs = [ hatchling ];
pythonImportsCheck = [ "annotated_types" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Reusable constraint types to use with typing.Annotated";
homepage = "https://github.com/annotated-types/annotated-types";
changelog = "https://github.com/annotated-types/annotated-types/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|