Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / beartype / default.nix
blob3eba6f3317a427d864e40d4a667d433379d09f7a
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytestCheckHook
5 , pythonOlder
6 , typing-extensions
7 }:
9 buildPythonPackage rec {
10   pname = "beartype";
11   version = "0.16.4";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-GtqJzy1usw624Vbu0utUkzV3gpN5ENdDgJGOU8Lq4L8=";
19   };
21   nativeCheckInputs = [
22     pytestCheckHook
23     typing-extensions
24   ];
26   pythonImportsCheck = [
27     "beartype"
28   ];
30   meta = with lib; {
31     description = "Fast runtime type checking for Python";
32     homepage = "https://github.com/beartype/beartype";
33     changelog = "https://github.com/beartype/beartype/releases/tag/v${version}";
34     license = licenses.mit;
35     maintainers = with maintainers; [ bcdarwin ];
36   };