Fernando Rodrigues 05580f4b44
treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00

43 lines
772 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
# dependencies
torch,
scipy,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "torchdiffeq";
version = "0.2.5";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-tQ03YNE/0TjczqxlH0uAOW9E/vzr0DegM/7P6qnMEuc=";
};
propagatedBuildInputs = [
torch
scipy
];
pythonImportsCheck = [ "torchdiffeq" ];
# no tests in sdist, no tags on git
doCheck = false;
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Differentiable ODE solvers with full GPU support and O(1)-memory backpropagation";
homepage = "https://github.com/rtqichen/torchdiffeq";
license = licenses.mit;
teams = [ teams.tts ];
};
}