python3Packages.starlark: init at 0.5.0

New dependency for remarshal.
This commit is contained in:
Martin Weinelt
2026-07-15 03:12:39 +02:00
parent 6ac2df8f6e
commit 5c10f4aa27
2 changed files with 45 additions and 0 deletions
@@ -0,0 +1,43 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
hypothesis,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "starlark";
version = "0.5.0";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "dbohdan";
repo = "starlark-python";
tag = "v${finalAttrs.version}";
hash = "sha256-J3QgztBmoJBJ8VGl+w7Ybwyuehw8ZEEy6oHIn91tVAY=";
};
build-system = [
hatchling
];
nativeCheckInputs = [
hypothesis
pytestCheckHook
];
pythonImportsCheck = [
"starlark"
];
meta = {
description = "Starlark in pure Python";
homepage = "https://github.com/dbohdan/starlark-python";
changelog = "https://github.com/dbohdan/starlark-python/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ hexa ];
};
})
+2
View File
@@ -19469,6 +19469,8 @@ self: super: with self; {
starkbank-ecdsa = callPackage ../development/python-modules/starkbank-ecdsa { };
starlark = callPackage ../development/python-modules/starlark { };
starlette = callPackage ../development/python-modules/starlette { };
starlette-admin = callPackage ../development/python-modules/starlette-admin { };