R. Ryantm 2024-11-18 04:42:50 +00:00 committed by Gaetan Lepage
parent 45533e4b16
commit 39e09b1673

View File

@ -1,15 +1,11 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
# build-system
hatchling,
# dependencies
typeguard,
# tests
cloudpickle,
equinox,
@ -24,23 +20,19 @@
let
self = buildPythonPackage rec {
pname = "jaxtyping";
version = "0.2.34";
version = "0.2.36";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "google";
repo = "jaxtyping";
rev = "refs/tags/v${version}";
hash = "sha256-zkB8/+0PmBKDFhj9dd8QZ5Euglm+W3BBUM4dwFUYYW8=";
hash = "sha256-TXhHh6Nka9TOnfFPaNyHmLdTkhzyFEY0mLSfoDf9KQc=";
};
build-system = [ hatchling ];
dependencies = [ typeguard ];
pythonRelaxDeps = [ "typeguard" ];
pythonImportsCheck = [ "jaxtyping" ];
nativeCheckInputs = [
cloudpickle
@ -64,8 +56,6 @@ let
};
};
pythonImportsCheck = [ "jaxtyping" ];
meta = {
description = "Type annotations and runtime checking for JAX arrays and PyTrees";
homepage = "https://github.com/google/jaxtyping";