python312Packages.geotorch: init at 0.3.0
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
torch,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "geotorch";
|
||||
version = "0.3.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lezcano";
|
||||
repo = "geotorch";
|
||||
tag = version;
|
||||
hash = "sha256-kkn0PZzQRodXCeX3RcajVvrp1TrhSVgKYwyJGAMuvLM=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
torch
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "geotorch" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Constrained optimization toolkit for PyTorch";
|
||||
homepage = "https://github.com/lezcano/geotorch";
|
||||
changelog = "https://github.com/lezcano/geotorch/releases/tag/${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ flokli ];
|
||||
};
|
||||
}
|
||||
@@ -5673,6 +5673,8 @@ self: super: with self; {
|
||||
|
||||
georss-wa-dfes-client = callPackage ../development/python-modules/georss-wa-dfes-client { };
|
||||
|
||||
geotorch = callPackage ../development/python-modules/geotorch { };
|
||||
|
||||
gepetto-gui = toPythonModule (gepetto-viewer.withPlugins [ gepetto-viewer-corba ]);
|
||||
|
||||
gepetto-viewer = toPythonModule (pkgs.gepetto-viewer.override { python3Packages = self; });
|
||||
|
||||
Reference in New Issue
Block a user