summary refs log blame commit diff
path: root/pkgs/development/python-modules/beartype/default.nix
blob: 51479bbe3231070bcd3d4c3635618338b6cbd50a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
     


                    
             




                        
                     

                        



                               
                                                                   

    






                        







                                                          
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:


buildPythonPackage rec {
  pname = "beartype";
  version = "0.10.1";
  format = "setuptools";

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-7yKOZpOLT0SH2LMGodGaCTi8TvJEthYjCfQjzMjO/HY=";
  };

  checkInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "beartype"
  ];

  meta = with lib; {
    description = "Fast runtime type checking for Python";
    homepage = "https://github.com/beartype/beartype";
    license = licenses.mit;
    maintainers = with maintainers; [ bcdarwin ];
  };
}