Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940{ buildPythonPackage,
# dependencies pytorch-lightning,
# tests psutil, pytestCheckHook,}:
buildPythonPackage { pname = "lightning"; pyproject = true; __structuredAttrs = true;
inherit (pytorch-lightning) version src build-system meta ;
dependencies = pytorch-lightning.dependencies ++ [ pytorch-lightning ];
nativeCheckInputs = [ psutil pytestCheckHook ];
# Some packages are not in nixpkgs; other tests try to build distributed # models, which doesn't work in the sandbox. doCheck = false;
pythonImportsCheck = [ "lightning" "lightning.pytorch" ];}