python3Packages.jax-tap: init at 0.3.0

This commit is contained in:
Gaetan Lepage
2026-07-10 21:15:39 +00:00
parent ff2456dea8
commit f2f41d0109
2 changed files with 64 additions and 0 deletions

View File

@@ -0,0 +1,62 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatch-vcs,
hatchling,
# dependencies
jax,
# optional-dependencies
pandas,
# tests
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "jax-tap";
version = "0.3.0";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "arcueil";
repo = "jax-tap";
tag = "v${finalAttrs.version}";
hash = "sha256-B6Y8+9FXLhHZwQ9ayomffP3P7Uz7zuL52oxzJwCE2hM=";
};
build-system = [
hatch-vcs
hatchling
];
dependencies = [
jax
];
optional-dependencies = {
pandas = [
pandas
];
};
pythonImportsCheck = [ "jaxtap" ];
nativeCheckInputs = [
pandas
pytestCheckHook
];
meta = {
description = "Make print-debugging great again";
homepage = "https://github.com/arcueil/jax-tap";
changelog = "https://github.com/arcueil/jax-tap/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
})

View File

@@ -8369,6 +8369,8 @@ self: super: with self; {
jax-jumpy = callPackage ../development/python-modules/jax-jumpy { };
jax-tap = callPackage ../development/python-modules/jax-tap { };
jaxlib = jaxlib-bin;
jaxlib-bin = callPackage ../development/python-modules/jaxlib/bin.nix { };