mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-10 07:13:38 +00:00
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
51 lines
1011 B
Nix
51 lines
1011 B
Nix
{
|
|
anyio,
|
|
buildPythonPackage,
|
|
django,
|
|
fastapi,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
httpx,
|
|
lib,
|
|
litestar,
|
|
pytestCheckHook,
|
|
starlette,
|
|
uvicorn,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "datastar-py";
|
|
version = "1.0.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "starfederation";
|
|
repo = "datastar-python";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-epshwHwpRnrgOQ6/jiy6Iyv4y1fa5ZipgiFShKEOxtA=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
pythonImportsCheck = [ "datastar_py" ];
|
|
|
|
nativeCheckInputs = [
|
|
anyio
|
|
django
|
|
fastapi
|
|
httpx
|
|
litestar
|
|
pytestCheckHook
|
|
starlette
|
|
uvicorn
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/starfederation/datastar-python/releases/tag/${finalAttrs.src.tag}";
|
|
description = "Helper functions and classes for the Datastar library";
|
|
homepage = "https://github.com/starfederation/datastar-python";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.dotlambda ];
|
|
};
|
|
})
|