10 buildPythonPackage rec {
11 pname = "annotated-types";
15 src = fetchFromGitHub {
16 owner = "annotated-types";
17 repo = "annotated-types";
18 rev = "refs/tags/v${version}";
19 hash = "sha256-SZ9/rXYcns4DFM6vk6SRKvuv3MY3T7xO9aW7WAQqtVE=";
26 propagatedBuildInputs = lib.optionals (pythonOlder "3.9") [
30 pythonImportsCheck = [ "annotated_types" ];
37 description = "Reusable constraint types to use with typing.Annotated";
38 homepage = "https://github.com/annotated-types/annotated-types";
39 changelog = "https://github.com/annotated-types/annotated-types/releases/tag/${src.rev}";
40 license = licenses.mit;
41 maintainers = with maintainers; [ blaggacao ];