mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 10:14:48 +00:00
Diff: https://github.com/arcueil/jax-tap/compare/v0.3.0...v0.3.1 Changelog: https://github.com/arcueil/jax-tap/blob/v0.3.1/CHANGELOG.md
63 lines
1.0 KiB
Nix
63 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
|
|
# build-system
|
|
hatch-vcs,
|
|
hatchling,
|
|
|
|
# dependencies
|
|
jax,
|
|
|
|
# optional-dependencies
|
|
pandas,
|
|
|
|
# tests
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "jax-tap";
|
|
version = "0.3.1";
|
|
pyproject = true;
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "arcueil";
|
|
repo = "jax-tap";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-xMBiEuACoPFSIlhR+/k4dBCGxqDqN7jkioSmsBlpWYk=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
})
|