Loading pkgs/development/python-modules/lightning/default.nix 0 → 100644 +43 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, # build-system setuptools, # dependencies pytorch-lightning, # tests psutil, pytestCheckHook, }: buildPythonPackage { pname = "lightning"; pyproject = 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" ]; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7869,6 +7869,8 @@ self: super: with self; { lightify = callPackage ../development/python-modules/lightify { }; lightning = callPackage ../development/python-modules/lightning { }; lightning-utilities = callPackage ../development/python-modules/lightning-utilities { }; lightparam = callPackage ../development/python-modules/lightparam { }; Loading Loading
pkgs/development/python-modules/lightning/default.nix 0 → 100644 +43 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, # build-system setuptools, # dependencies pytorch-lightning, # tests psutil, pytestCheckHook, }: buildPythonPackage { pname = "lightning"; pyproject = 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" ]; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7869,6 +7869,8 @@ self: super: with self; { lightify = callPackage ../development/python-modules/lightify { }; lightning = callPackage ../development/python-modules/lightning { }; lightning-utilities = callPackage ../development/python-modules/lightning-utilities { }; lightparam = callPackage ../development/python-modules/lightparam { }; Loading