python3Packages.beartype: add format

This commit is contained in:
Fabian Affolter 2022-02-21 11:07:37 +01:00 committed by GitHub
parent 81601ba03c
commit 28fd284959
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,16 @@
{ lib
, pythonOlder
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "beartype";
version = "0.9.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
@ -16,8 +18,13 @@ buildPythonPackage rec {
sha256 = "YjYw3CQ7DaWoTw+kFOaqryYT5WetGav+aoHBfqWrYvE=";
};
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "beartype" ];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"beartype"
];
meta = with lib; {
description = "Fast runtime type checking for Python";