Merge pull request #151605 from bcdarwin/python3-beartype

python3Packages.beartype: init at 0.9.1
This commit is contained in:
Fabian Affolter
2022-02-21 11:39:57 +01:00
committed by GitHub
2 changed files with 37 additions and 0 deletions
@@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "beartype";
version = "0.9.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "YjYw3CQ7DaWoTw+kFOaqryYT5WetGav+aoHBfqWrYvE=";
};
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 ];
};
}
+2
View File
@@ -1166,6 +1166,8 @@ in {
beanstalkc = callPackage ../development/python-modules/beanstalkc { };
beartype = callPackage ../development/python-modules/beartype { };
beautifulsoup4 = callPackage ../development/python-modules/beautifulsoup4 { };
beautifultable = callPackage ../development/python-modules/beautifultable { };