python3.pkgs.fasthtml: init at 0.12.47
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
beautifulsoup4,
|
||||
fastcore,
|
||||
fastlite,
|
||||
httpx,
|
||||
itsdangerous,
|
||||
oauthlib,
|
||||
python-dateutil,
|
||||
python-multipart,
|
||||
starlette,
|
||||
uvicorn,
|
||||
|
||||
# optional-dependencies
|
||||
ipython,
|
||||
lxml,
|
||||
monsterui ? null, # TODO: package
|
||||
pyjwt,
|
||||
pysymbol-llm ? null, # TODO: package
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "fasthtml";
|
||||
version = "0.12.47";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AnswerDotAI";
|
||||
repo = "fasthtml";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-dlG6pOVsd9RSmy/rgr7lUANRllND4tZDnsOecsI4bh8=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
beautifulsoup4
|
||||
fastcore
|
||||
fastlite
|
||||
httpx
|
||||
itsdangerous
|
||||
oauthlib
|
||||
python-dateutil
|
||||
python-multipart
|
||||
starlette
|
||||
uvicorn
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
dev = [
|
||||
ipython
|
||||
lxml
|
||||
monsterui
|
||||
pyjwt
|
||||
pysymbol-llm
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# https://github.com/AnswerDotAI/fasthtml/issues/835
|
||||
"test_get_toaster_with_typehint"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"fasthtml"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "The fastest way to create an HTML app";
|
||||
homepage = "https://github.com/AnswerDotAI/fasthtml";
|
||||
changelog = "https://github.com/AnswerDotAI/fasthtml/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
})
|
||||
@@ -5351,6 +5351,8 @@ self: super: with self; {
|
||||
|
||||
fastgit = callPackage ../development/python-modules/fastgit { };
|
||||
|
||||
fasthtml = callPackage ../development/python-modules/fasthtml { };
|
||||
|
||||
fastimport = callPackage ../development/python-modules/fastimport { };
|
||||
|
||||
fastjet = callPackage ../development/python-modules/fastjet { };
|
||||
|
||||
Reference in New Issue
Block a user