mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
python3Packages.jax-tap: init at 0.3.0
This commit is contained in:
62
pkgs/development/python-modules/jax-tap/default.nix
Normal file
62
pkgs/development/python-modules/jax-tap/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user