python3Packages.datastar-py: 1.0.0 -> 1.0.2
Diff: https://github.com/starfederation/datastar-python/compare/v1.0.0...v1.0.2 Changelog: https://github.com/starfederation/datastar-python/releases/tag/v1.0.2
This commit is contained in:
@@ -1,21 +1,28 @@
|
||||
{
|
||||
anyio,
|
||||
buildPythonPackage,
|
||||
django,
|
||||
fastapi,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
httpx,
|
||||
lib,
|
||||
litestar,
|
||||
pytestCheckHook,
|
||||
starlette,
|
||||
uvicorn,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "datastar-py";
|
||||
version = "1.0.0";
|
||||
version = "1.0.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "starfederation";
|
||||
repo = "datastar-python";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-79pdSzHwkF8JX3rF5PIEvx//rKRvX3H1B2382Wfbm9U=";
|
||||
hash = "sha256-epshwHwpRnrgOQ6/jiy6Iyv4y1fa5ZipgiFShKEOxtA=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
@@ -23,13 +30,16 @@ buildPythonPackage (finalAttrs: {
|
||||
pythonImportsCheck = [ "datastar_py" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
anyio
|
||||
django
|
||||
fastapi
|
||||
httpx
|
||||
litestar
|
||||
pytestCheckHook
|
||||
starlette
|
||||
uvicorn
|
||||
];
|
||||
|
||||
# tests were only added after 1.0.0
|
||||
# TODO enable after update
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/starfederation/datastar-python/releases/tag/${finalAttrs.src.tag}";
|
||||
description = "Helper functions and classes for the Datastar library";
|
||||
|
||||
Reference in New Issue
Block a user